Created
January 5, 2010 13:47
-
-
Save kch/269378 to your computer and use it in GitHub Desktop.
git get name of current branch
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
# Previous versions of this gist brought to you by major OCD. | |
# I now leave you with my pick. | |
git branch | ack -o '(?<=^\* ).*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment