Sunday, December 7, 2014

List out all the branches in the current repository


In the previous post we saw on how to switch to a specific branch using the checkout command, at times we might have more branches in a repository which we cannot remember always, the $git branch command is used to list out all the branches in the current repository.
The following command lists all the branches in the repository.

Git branch

The current branch is indicated with a *



Search Flipkart Products:
Flipkart.com

No comments: