Skip to content

Instantly share code, notes, and snippets.

@albertoperdomo
Created March 16, 2012 17:15
Show Gist options
  • Save albertoperdomo/2051216 to your computer and use it in GitHub Desktop.
Save albertoperdomo/2051216 to your computer and use it in GitHub Desktop.
Delete all unmerged local branches
git branch | grep -v master | xargs -l1 git branch -d
@BhJaipal
Copy link

BhJaipal commented Feb 9, 2023

I want to delete an unmerged branch

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