Skip to content

Instantly share code, notes, and snippets.

@anxhe
Forked from joiggama/git.md
Created May 7, 2017 14:50
Show Gist options
  • Save anxhe/78c3a80b5085230ffbbe0c3be7fd0904 to your computer and use it in GitHub Desktop.
Save anxhe/78c3a80b5085230ffbbe0c3be7fd0904 to your computer and use it in GitHub Desktop.
My git tips & tricks

Git

Remove all merged branches:

$ git branch --merged | awk '{ print $NF }' | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment