Languages

How to list all remote branches with git?

3 points
Asked by:
Marcin
18550

Is there a way to list all remote branches using git?

1 answer
3 points
Answered by:
Marcin
18550

Yes, it is possible.

Quick solution:

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 comments Add comment
Native Advertising
­čÜÇ
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

ÔŁĄ´ŞĆ­čĺ╗ ­čÖé

Join