osx - git fatal: multiple stage entries for merged file -
git throws error:
fatal: multiple stage entries merged file
i've been on side (getting fatal error in git multiple stage entries) , read workaround:
cd /path/to/second/cloned/repo git --work-tree=/path/to/first/repo add .
now, changes can queried via status, after have now? when use git add, last version. changes gone. changes removed , new repo has old status again. how can put change new repository? use git version 2.2.0 on os x 10.10.
i resolved problem:
in terminal, type this:
rm .git/index (press enter key) git add -a (press enter key) git commit -m "your commit instruction"
Comments
Post a Comment