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

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -