Git already up to date unless I reset
Posted
by Chris
on Stack Overflow
See other posts from Stack Overflow
or by Chris
Published on 2010-04-23T07:41:50Z
Indexed on
2010/04/23
7:43 UTC
Read the original article
Hit count: 469
I have a cloned repo I use for the live site and I have it pull from a bare repo. For some reason every time I execute "git pull" I get the already up to date message. But it's not up to date and not updated. If I do a git reset --hard HEAD^ and then git pull again, the changes come in.
What's the problem here and how do I fix it so that git pull will pull and merge changes in without needing a hard reset?
© Stack Overflow or respective owner