List All Remote Branches in Git

Tyler Tyler (266)
0

This short guide will show you how to list all remote branches in Git.

Posted in these interests:

git
PRIMARY
25 subscribers
webdev
86 subscribers
programming
20 subscribers

In your repo directory, type:

git branch -a

This will render a list of all available remote branches. The -a flag means "all".

To learn more about git branch and its available flags and options, see the git branch documentation.