I noticed if I used ggpull on my branch 'dev', my remote tracking branch 'origin/dev' was not getting updated, even though my 'dev' branch was. Here's a symptom of the problem shown by example. I'll update my dev branch pulling down 5 commits, then switch away and back to my branch.
mreishus on mreishus-VirtualBox in /tmp/sp2 (58m|dev)
remote: Counting objects: 17, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 9 (delta 7), reused 7 (delta 5)
Unpacking objects: 100% (9/9), done.
* branch dev -> FETCH_HEAD
foo/bar/baz | 8 +++++
1 file changed, 8 insertions(+), 0 deletions(-)
mreishus on mreishus-VirtualBox in /tmp/sp2 (1m|dev)
± git checkout master
Switched to branch 'master'
mreishus on mreishus-VirtualBox in /tmp/sp2 (58m|master)
± git checkout dev
Switched to branch 'dev'
Your branch is ahead of 'origin/dev' by 5 commits. <------- This message
Now I'm actually in sync with my github dev branch, but git is telling me that I'm ahead of origin/dev by 5 commits. This would make me think that I had 5 commits I hadn't pushed out to github, but this isn't true - it's rather that ggpull updated my "dev" branch but didn't update my remote tracking branch "origin/dev".
My fix is to use git fetch to update the remote tracking branch in addition to the pull.
ggpull now updates the current branch's remote tracking branch as wel…
…l as the current branch
Nice - thanks for the fix... implemented locally