Wednesday, September 9, 2015

Checking which local branch is tracking which remote branch in Git?

For all branches:
git branch -avv

For local branches only:
git branch -lvv

shows you all branches as well as the name of the upstream branch.

Source : http://serverfault.com/questions/175052/how-to-tell-which-local-branch-is-tracking-which-remote-branch-in-git

No comments:

Post a Comment