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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -