How do I list all remote branches in Git 1.7+?

后端 未结 19 2279
轮回少年
轮回少年 2020-12-02 03:14

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

19条回答
  •  庸人自扰
    2020-12-02 04:05

    You also may do git fetch followed by a git branch -r. Without fetch you will not see the most current branches.

提交回复
热议问题