When I encounter a merge conflict using git rebase, how can I identify the source of the conflict in terms of commits, rather than just file difference
cat .git/rebase-apply/original-commit
Given this:
A---B---C---D
\
E---F---G
$ git checkout G
$ git rebase D
and given that there's a merge conflict trying to apply F:
A---B---C---D--E'--!
\
E---F---G
then the original-commit file will show the hash of F. This is "theirs" version.
Also, HEAD (.git/HEAD) will be E' in this case. This is "mine" version. HEAD^ will be "base" version.
This is true for at least git 1.7.9