GIT-MERGE-INDEX(1) Git Manual GIT-MERGE-INDEX(1) (NAME) git-merge-index - (SYNOPSIS) git merge-index [-o] [-q] (-a | ( [--] ...) ) (DESCRIPTION) () (index) SHA-1 ( ) . (file modes) . (OPTIONS) -- . -a . -o - . -q ( ). (porcelains) . git merge-index ( -a) . merge RCS . git merge-one-file . ! << >> merge RCS . (original) . merge . . : torvalds@ppc970:~/merge-test> git merge-index cat MM This is MM from the original tree. # original This is modified MM in the branch A. # merge1 This is modified MM in the branch B. # merge2 This is modified MM in the branch B. # current contents torvalds@ppc970:~/merge-test> git merge-index cat AA MM cat: : No such file or directory This is added AA in the branch A. This is added AA in the branch B. This is added AA in the branch B. fatal: merge program failed git merge-index ( cat AA git merge-index MM ). (GIT) git(1) Git 2.55.0 2026-06-29 GIT-MERGE-INDEX(1)