I've tried git branch -r
, but that only lists remote branches that I've tracked locally. How do I find the list of those that I haven't? (It doesn't matter to me whether the command lists all remote branches or only those that are untracked.)
views:
55answers:
3The `-t` option affects behavior when *creating* branches. Nothing to do with this.
Jefromi
2010-08-12 23:11:05
This is basically equivalent to `git branch -r`, which the OP said wasn't good enough.
Jefromi
2010-08-12 23:10:20
actually both `git branch -a` and `git branch -r` list all remote branches for me, I'm not sure if what the OP said is true. I just setup a test repository and verified this (only had master tracking origin/master but still saw all remote branches with both flags).
Idan K
2010-08-13 11:01:36