• Cody Bonney
  • June 11, 2014
git

Listing all local branches in Git

All local branches in git can be listed by using the branch command with no arguments.

$ git branch

more Git posts

git Enable caching of Git credentials in memory
git Check the remote origin URL of a git repository
git Set the remote origin URL for a git repository
git Create a new bare Git repository
git Create a new working Git repository
git Getting a list of local git branches without using "git branch"