Git: List Branches

Listing your local branches

The following command will list all the branches you have on your local computer.


git branch -a

Listing the remote branches

The following command will list all the branches on the remote server.


git branch -r

See Also

Links

Radio Channels

Electronic