On 2008.07.01 12:07:25 +0200, Ingo Molnar wrote: > There's a small detail i was thinking about: is there a way to get this > extra output without actually switching branches? Right now i do this: > > earth4:~/tip> git-checkout tip; git-checkout master > Checking out files: 100% (2437/2437), done. > Switched to branch "tip" > Switched to branch "master" > Your branch is ahead of the tracked remote branch 'origin/master' by > 50 commits. > > (Which is an admitted lame solution but the best i could figure.) Just "git checkout" works for me: git (master) $ git checkout Your branch is behind the tracked remote branch 'origin/master' by 6 commits, and can be fast-forwarded. Björn -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html