Created
May 13, 2021 03:17
-
-
Save okabe-yuya/a5aace6cee1d088b47f88e02732d72db to your computer and use it in GitHub Desktop.
get current branch 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
echo $(git branch | grep "*" | sed -e "s/\* //") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment