Update: I think this is related to an issue with the windows git client msysgit. Sorry to trouble you guys. http://code.google.com/p/msysgit/issues/detail?i
It's strange, git reset --hard
should remove any change made in the local repositories.
you can try git stash && git pull
, it just move the changes in some kind of temporay branch (git stash clear
to remove any trace of the changes)
if that does not work, you can try this (assuming you are on the master branch and that the tmp branch does not exists)
git checkout origin/master -b tmp
git branch -D master
git branch -m master