Pagine

Monday 1 May 2017

Git - How to get the branch remote list

Who knows the basic features of git know that branches can be of two types: local and remote.
Use the following command for the list of local branches:
 git branch
Instead use the option '-r' for remote branches:
 git branch -r
Finally the option '-a' for full list (local and remote branches):
 git branch -a

No comments:

Post a Comment