Skip to content

Instantly share code, notes, and snippets.

@nmanumr
Created January 13, 2022 16:51
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 nmanumr/7ce22439f1a897fca3a532754e229e87 to your computer and use it in GitHub Desktop.
Save nmanumr/7ce22439f1a897fca3a532754e229e87 to your computer and use it in GitHub Desktop.
remove all the merged branches
git --no-pager branch --merged main | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment