get current branch name in Git
refer -> How to get current branch name in Git? - Stack Overflow
I think this method is very good!!
git branch | sed -n '/\* /s///p'
refer -> How to get current branch name in Git? - Stack Overflow
I think this method is very good!!
git branch | sed -n '/\* /s///p'