Skip to content

Instantly share code, notes, and snippets.

@lmller
Last active March 14, 2017 09:08
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 lmller/38231854ea7cfb16bc79f6e0e21feaf8 to your computer and use it in GitHub Desktop.
Save lmller/38231854ea7cfb16bc79f6e0e21feaf8 to your computer and use it in GitHub Desktop.
Git things I use
//remove local branches, that are already megred on remote
git branch --merged | grep -v "\*" | grep -v master | xargs -n 1 git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment