Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to check in which brach we are in git

git branch -a # it will show an astrick * like *master
git branch --show-current # source == git remote --help
Source by git-scm.com #
 
PREVIOUS NEXT
Tagged: #check #brach #git
ADD COMMENT
Topic
Name
4+5 =