Skip to content

Instantly share code, notes, and snippets.

@thuydao
Created November 29, 2022 07:59
Show Gist options
  • Save thuydao/2fa7cc6709a615859b468aea0981cbe7 to your computer and use it in GitHub Desktop.
Save thuydao/2fa7cc6709a615859b468aea0981cbe7 to your computer and use it in GitHub Desktop.
gitclean
alias gitclean="git branch --merged | grep -v \* | xargs git branch -D && git remote update origin --prune"
@thuydao
Copy link
Author

thuydao commented Nov 29, 2022

Delete all local branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment