Skip to content

Instantly share code, notes, and snippets.

View jujoflores's full-sized avatar

Juan Jose Flores jujoflores

  • Incfile
  • Guadalajara, Jalisco, México
View GitHub Profile
@kch
kch / git-where-am-i.sh
Created January 5, 2010 13:47
git get name of current branch
# Previous versions of this gist brought to you by major OCD.
# I now leave you with my pick.
git branch | ack -o '(?<=^\* ).*'