Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

get current branch name git

git rev-parse --abbrev-ref HEAD
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #current #branch #git
ADD COMMENT
Topic
Name
4+6 =