Created
October 11, 2012 09:18
-
-
Save haruta/3871202 to your computer and use it in GitHub Desktop.
git-current
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
#!/bin/sh | |
# usage: | |
# git current で現在のブランチ名を表示する | |
git branch | grep '*' | sed 's/* //' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment