EN
How to list all remote branches with git?
1 answers
3 points
Is there a way to list all remote branches using git?
1 answer
3 points
Yes, it is possible.
Quick solution:
xxxxxxxxxx
1
git branch -r
-r
parameter explanation:
-r
|--remotes
- we can use-r
or--remotes
, it is the same eg:
git branch -r
git branch --remotes
- Option
-r
causes the remote-tracking branches to be listed
References:
0 commentsShow commentsAdd comment