Created
February 25, 2016 02:55
-
-
Save rlandas/9b21e1331346fe6d7e24 to your computer and use it in GitHub Desktop.
GIT - get current branch - displays the current branch, useful for using the current branch into another command as input
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