Created
April 20, 2016 13:30
-
-
Save justin-endler/76401c44ba5fbdc87b6a5fd578b7a071 to your computer and use it in GitHub Desktop.
copy current git branch to clipboard
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
echo -n "$(git rev-parse --abbrev-ref HEAD)" | pbcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment