how do I get git to show me which branches are tracking what? -
i know can git branch --all
, shows me both local , remote branches, it's not useful in showing me relationships between them.
how list branches in way shows local branch tracking remote?
very porcelain command, not if want scripting:
git branch -vv # doubly verbose!
note git 1.8.3, upstream branch displayed in blue (see "what branch tracking (if anything) in git?")
if want clean output, see arcresu's answer - uses porcelain command don't believe existed @ time wrote answer, it's bit more concise , works branches configured rebase, not merge.
Comments
Post a Comment