Skip to content

Instantly share code, notes, and snippets.

@jadaradix
Created July 3, 2017 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jadaradix/360d8b73dbec361cb4bf787903a42e33 to your computer and use it in GitHub Desktop.
Save jadaradix/360d8b73dbec361cb4bf787903a42e33 to your computer and use it in GitHub Desktop.
git print current branch
git branch | grep \* | cut -d ' ' -f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment