I have seen few posts saying that running
git branch -lvv
will show all your local branches and beside them, the remote branches your local branches are based on. But I do not see that happening.
I am using git version 2.7.1.windows.2:
me@ME-PC BLAH64 /c/code/myproj (BRANCH-10)
$ git --version
git version 2.7.1.windows.2
And here is what I get when I issue:
me@ME-PC BLAH64 /c/code/myproj (BRANCH-10)
$ git branch -lvv
* BRANCH-10 xxxxxxx some comment
BRANCH-7 xxxxxxx some comment
BRANCH-12 xxxxxxx some comment
dev-branch xxxxxxx [origin/master] some comment
dev-branch-c xxxxxxx some comment
xxxxxxx above are some strange looking numbers such as 05317bba or similar.
How do I see all mine local branches and the remote branches these local branches are based on? i.e. how do I know what remote branch is my local BRANCH-12 based on?
So, I am not looking for ALL branches but for my local branches and their respective remote branches.