The versions in the index marked 1 , 2 and 3 have the following meanings:
- You merge a file that was in the common ancestor of the two commits.
- A file that was in
HEAD , i.e. your current commit when you did the merge. - The file as is in the commit that you are trying to merge into
HEAD .
The source of this information is the git conflict resolution help section .
The output of both modified in git status indicates, of course, that the file has been modified in different ways by the two commits that you combine with their common ancestor.
Itβs rather mysterious for me why you donβt see conflict markers in the file, however, that blobs have different object names (hashes) on the output of git ls-files -s , it indicates that bytes they do bytes bytes, of course, have different content. If you are happy with the file, as in your working copy, you can just do git add filename.js and then git rebase --continue . However, in any case, you may need to find out what the difference is. To do this, I will try the following:
git diff :2:filename.js filename.js
... which will show the differences between the version in HEAD and the current working copy. Similarly, you can try:
git diff :3:filename.js filename.js
... to see the difference between the version in it and your working copy.
source share