Skip to content

Instantly share code, notes, and snippets.

@DavidHamburg
Created May 19, 2017 21:56
Show Gist options
  • Save DavidHamburg/81701a45cc9753487ed6d0467df5c5fb to your computer and use it in GitHub Desktop.
Save DavidHamburg/81701a45cc9753487ed6d0467df5c5fb to your computer and use it in GitHub Desktop.
git clean up
git branch | grep -v "master" | xargs git branch -D
git fetch --prune
git clean -xfd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment