How to list a git repository's all branches on the remote server?

I can list all local branches by

git branch

How to list a git repository's all branches on the remote server?

asked May 2, 2013 by Adam (1,780 points)

1 Answer

 
Best answer

You need the -r option:

git branch -r

From the man page of git-branch.

-r

List or delete (if used with -d) the remote-tracking branches.
answered May 3, 2013 by anonymous
selected May 6, 2013 by Adam

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...