After doing a pull from a remote repo, my local repo is in a strange state.
git log does not show the commits from the remote repo. The files that should be changed are unchanged. git status shows that I’m on branch master (as expected) with a clean working directory. In other words, can’t find any evidence from the pull.
But, if I git show a specific commit from the remote, the correct changes for that commit are shown. How can git show be working correctly, but my repo be unchanged and the log not displaying the commit?
What’s going on?
Probably those commits where fetched (as part of a previous
git pullthat you aborted or reverted), but not applied to the localmaster.