For most (all?) my life using git
I could do git status
and it would tell me if there was something to commit in my local repository and if it was up to date with origin.
However, I recently created a repository on github for personal use that I cloned into my local machine in which for some reason that doesn't work.
In that repo, if I issue git status
I get the following output
$ git status
# On branch master
nothing to commit, working directory clean
even though I know there are changes to origin. I have to issue git remote update
and then issue git status
to show that my branch is behind origin.
The thing is that that doesn't happen for my other repositories (even using the same computer, etc), which makes me think that is a local configuration. Something that has the same effect of aliasing the git status
that somehow aliases git status
to git remote update && git status
locally.
So can someone explain what's going on and how I can "fix" this repo to have the same behavior a the others?