|
|
|
|
|
by Aga
4815 days ago
|
|
A warning about the ours and theirs commands: when you're rebasing, they will do the exact opposite what most people await them to do (thanks to git rebase's implementation). From the git rebase man-page, --merge:
Note that a rebase merge works by replaying each commit from the working branch on top of the <upstream> branch. Because of this, when a merge conflict happens, the side reported as ours is the so-far rebased series, starting with <upstream>, and theirs is the working branch. In other words, the sides are swapped. https://www.kernel.org/pub/software/scm/git/docs/git-rebase.... |
|