SyntaxFix
Write A Post
Hire A Developer
Questions
git rev-parse Also works for getting the current branch name using the --abbrev-ref flag like:
git rev-parse
git rev-parse --abbrev-ref HEAD