Skip to content

Instantly share code, notes, and snippets.

@clementprem
Created December 14, 2018 15:48
Show Gist options
  • Save clementprem/696266bdbfa972e621f5af72c58020a5 to your computer and use it in GitHub Desktop.
Save clementprem/696266bdbfa972e621f5af72c58020a5 to your computer and use it in GitHub Desktop.
clean-branch
## Clean Local Branch
git branch -d $(git branch --merged |tail -n +2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment