Skip to content

Instantly share code, notes, and snippets.

@speric
Last active August 29, 2015 14:03
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 speric/d3fec4697baf27a0ee93 to your computer and use it in GitHub Desktop.
Save speric/d3fec4697baf27a0ee93 to your computer and use it in GitHub Desktop.
Short Log
# alias clean-branches="git branch --merged master | grep -v \"\* master\" | xargs -n 1 git branch -d"
$ git co master
$ git pull
$ clean-branches
$ git shortlog $VERSION..HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment