SyntaxFix
Write A Post
Hire A Developer
Questions
In Git 1.8.1 you can use the git symbolic-ref command with the "--short" option:
$ git symbolic-ref HEAD refs/heads/develop $ git symbolic-ref --short HEAD develop