Is the message a bit mis-leading?
When checkout a branch (eg., b535
), git does it and says "Your branch is up-to-date with 'origin/b535'." That sounds like what I have in my local branch b535
is up-to-date.
$ git checkout b535
Previous HEAD position was 8aa0145... master - resyns
Switched to branch 'b535'
Your branch is up-to-date with 'origin/b535'.
But actually it's not. When doing a git pull
, it found updates from remote and updating local branch.
$ git pull origin b535
remote: Counting objects: 39, done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 39 (delta 31), reused 0 (delta 0)
Unpacking objects: 100% (39/39), done.
...