Git pull: error: Entry foo not uptodate. Cannot merge.
Posted
by yuit
on Stack Overflow
See other posts from Stack Overflow
or by yuit
Published on 2009-08-08T05:10:44Z
Indexed on
2010/05/14
11:04 UTC
Read the original article
Hit count: 140
git
I'm trying to update my repo from a remote branch and keep getting this error when I do a "git pull". I haven't made any local changes, and even if I have I don't need to keep them.
I've tried:
git reset --hard
and I get the same problem
The only thing that seems to work is deleting the offending file and try a git pull again.
I've also tried "git stash" followed by a "git pull". No go.
edit: using PortableGit-1.6.4-preview20090729 so any previous bugs with spurious errors should be fixed.
© Stack Overflow or respective owner