Skip to content

Instantly share code, notes, and snippets.

@AlexChittock
Created April 12, 2012 08:17
Show Gist options
  • Save AlexChittock/2365586 to your computer and use it in GitHub Desktop.
Save AlexChittock/2365586 to your computer and use it in GitHub Desktop.
Current branch
[alias]
current = !sh -c \"echo $(git branch | grep \"*\" | sed \"s/*//\")\"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment