25 April 2014

How to get current branch name

BRANCH=`git rev-parse --abbrev-ref HEAD`


blog comments powered by Disqus