Is it possible that git status tells you everything is up to date when actually it is not? -


yesterday, merged branches worked on during weekend master. deleted every branch except master. of these changes done during weekend local repository in work computer outdated. today came work , ran git status, , said

on branch master branch up-to-date 'origin/master'.  nothing commit, working directory clean 

however 100% sure local repo @ work not date, because made several changes. after running git pull downloaded changes , worked fine.

my question is: possible under circumstances git status can tell you date remote when not? not sure if expected behavior or git messed up.

git status not check actual remote repository. tells if up-to-date respect local copy of remote repository. remember origin cached copy of remote resides on computer, , not remote repository itself.

you have git fetch update local cache, after git status tell if behind or not.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -