git push merge error, but git pull is already up-to-date

Posted by Jasie on Stack Overflow See other posts from Stack Overflow or by Jasie
Published on 2010-04-11T08:59:01Z Indexed on 2010/04/11 9:03 UTC
Read the original article Hit count: 370

Filed under:

I do:

git commit .

git push

error: Entry 'file.php' not uptodate. Cannot merge.

Then I do

git pull

Already up-to-date.

What do I do? I just want to get the latest version from the remote copy, and overwrite anything on my local copy.

© Stack Overflow or respective owner

Related posts about git