Created
January 12, 2020 18:33
-
-
Save dostrog/2ec97f9a479a72e73d8e924fb22d93ca to your computer and use it in GitHub Desktop.
Retrieve the name of current branch of git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git rev-parse --abbrev-ref HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment