list branches in Git
The command to list all branches in local and remote repositories is:
$ git branch -a
Only listing the remote branches from Git Bash then use this command:
$ git branch -r
Use the show-branch command for seeing the branches and their commits as follows:
$ git show-branch
Comments
Post a Comment