error: failed to push some refs
- From
- Thomas Anderson <zelnaga@gmail.com>
- Date
- Mar 7, 2010, 02:15 UTC
- Message-ID
- <15b345f1003061815y52a4e842u9373731cecd8ec60@mail.gmail.com>
I cloned git://github.com/symfony/symfony.git to C:/git/test-root and then cloned C:/git/test-root twice to C:/git/test-clone and C:/git/test-clone2. I modify the README file in C:/git/test-clone, stage it, commit it and then try to push it to C:/git/test-root and get this message:
To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes before pushing again. See the 'non-fast forward' section of 'git push --help' for details. Pushing to C:/git/test-root To C:/git/test-root ! [rejected] master -> master (non-fast forward) error: failed to push some refs to 'C:/git/test-root'
What does that even mean?