pull-only repo's 'git status' saying the branch is ahead of origin/master. Why?
问题 So here's the situation: $ git status # On branch master # Your branch is ahead of 'origin/master' by [x] commits. # There are several questions about this on SO already, but none seem to specifically address the type of scenario I have. This answer to one of the questions comes closest, but doesn't go into detail. I'll just quote it verbatim: If you get this message after doing a "git pull remote branch", try following it up with a "git fetch". Fetch seems to update the local representation