Created
March 31, 2015 12:29
-
-
Save hunje/7b964cc36f871e6a0d00 to your computer and use it in GitHub Desktop.
Shows current branch's name
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
#!/usr/bin/env bash | |
git rev-parse --abbrev-ref HEAD | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment