Git throws an error:
fatal: multiple stage entries for merged file
I've been on the side (Getting a fatal error in git for multiple stage entries) and read the workaround:
cd /patH/to/second/cloned/repo
git --work-tree=/path/to/first/repo add .
Now, the changes can be queried via status, but after that what i have to do now? When I use git add, then everything back to last version. All changes are gone. The changes were removed and my new repo has the old status again. How can i put all change to the new repository? I use git version 2.2.0 on OS X 10.10.
I resolved this problem:
In your terminal, type this:
rm .git/index (press enter key)
git add -A (press enter key)
git commit -m "your commit instruction"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With