My group has a policy that only one person can change the master branch on GitHub. He is a Git guru and does complicated commit management on origin/master.
Others have been told to use (after INSURING I'm on the master branch):
git pull --rebase origin master
to insure that we are mirroring origin perfectly. However, I know I've forgotten the --rebase occasionally. Now I'm wondering, is my local master out of sync with the one on origin?
Does the above command only succeed if they are in sync? If not what can I do?