I'd like to have a list of all branches with an info about what do they track. I.e.:
$ git branch -a -???
master <-> origin/master
new_menu <-> origin/feature1
remotes/origin/master
remotes/origin/feature1
Is there a way to achieve this?
I'd like to have a list of all branches with an info about what do they track. I.e.:
$ git branch -a -???
master <-> origin/master
new_menu <-> origin/feature1
remotes/origin/master
remotes/origin/feature1
Is there a way to achieve this?
Verbose is what you want:
git branch -a -v
or
git branch -a -vv
--verbose
Show sha1 and commit subject line for each head, along with relationship to upstream branch (if any). If given twice, print the name of the upstream branch, as well.