Skip to content

Instantly share code, notes, and snippets.

@rmundo
Created September 16, 2015 08:52
Show Gist options
  • Save rmundo/6f3ac4d9fe9b76c6b79b to your computer and use it in GitHub Desktop.
Save rmundo/6f3ac4d9fe9b76c6b79b to your computer and use it in GitHub Desktop.
Return current git branch, CLI
git rev-parse --abbrev-ref HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment