Resolve simple merge conflicts on GitHub
11–20 of 71 posts
Re: Resolve simple merge conflicts on GitHub
#12Re: Resolve simple merge conflicts on GitHub
#13I didn't know I could merge on github.com in the first place... where is their merge function, by the way?
Re: Resolve simple merge conflicts on GitHub
#14On my team I've found that it's incredibly useful to commit the merge conflicts and conflict markers, then immediately resolve the conflicts in the next commit. This gives you one commit that shows exactly how the two branches merged together, followed by a commit that shows exactly how the conflicts were resolved. The resolution commit can then be code reviewed independently for a nice clean view of the conflicts in…
Great idea! Although this does break cherry-pick, doesn't it?
Re: Resolve simple merge conflicts on GitHub
#15On my team I've found that it's incredibly useful to commit the merge conflicts and conflict markers, then immediately resolve the conflicts in the next commit. This gives you one commit that shows exactly how the two branches merged together, followed by a commit that shows exactly how the conflicts were resolved. The resolution commit can then be code reviewed independently for a nice clean view of the conflicts in…
Re: Resolve simple merge conflicts on GitHub
#16I didn't know I could merge on github.com in the first place... where is their merge function, by the way?
It's literally the hallmark of GitHub... How else would pull requests work? (well, there _is_ the rebase option now...)
Re: Resolve simple merge conflicts on GitHub
#17On my team I've found that it's incredibly useful to commit the merge conflicts and conflict markers, then immediately resolve the conflicts in the next commit. This gives you one commit that shows exactly how the two branches merged together, followed by a commit that shows exactly how the conflicts were resolved. The resolution commit can then be code reviewed independently for a nice clean view of the conflicts in…
Sounds like this would be a nightmare to rebase onto.
Re: Resolve simple merge conflicts on GitHub
#18On my team I've found that it's incredibly useful to commit the merge conflicts and conflict markers, then immediately resolve the conflicts in the next commit. This gives you one commit that shows exactly how the two branches merged together, followed by a commit that shows exactly how the conflicts were resolved. The resolution commit can then be code reviewed independently for a nice clean view of the conflicts in…
IMO, it is unnecessary to commit the conflicts. Instead, you can see how merges were resolved by diffing the commits.
Re: Resolve simple merge conflicts on GitHub
#19On my team I've found that it's incredibly useful to commit the merge conflicts and conflict markers, then immediately resolve the conflicts in the next commit. This gives you one commit that shows exactly how the two branches merged together, followed by a commit that shows exactly how the conflicts were resolved. The resolution commit can then be code reviewed independently for a nice clean view of the conflicts in…
Re: Resolve simple merge conflicts on GitHub
#20So simple, so useful, I wonder if this feature wasn't already in Gitlab since it seems to be more full featured