Skip to content

Instantly share code, notes, and snippets.

@assafshomer
Last active July 13, 2016 06:24
Show Gist options
  • Save assafshomer/4ac82de350a72331b613c1734d467f83 to your computer and use it in GitHub Desktop.
Save assafshomer/4ac82de350a72331b613c1734d467f83 to your computer and use it in GitHub Desktop.
"#{`git rev-parse HEAD`} (commit no. #{`git rev-list --count HEAD`.strip} on '#{`git branch`.split(/\n/).select{|e| e=~/\*/}.first.split(/\s/).last}' branch)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment