Skip to content

Instantly share code, notes, and snippets.

@srkirkland
Created January 13, 2016 22:04
Show Gist options
  • Save srkirkland/63ed5730da1bf607a4b3 to your computer and use it in GitHub Desktop.
Save srkirkland/63ed5730da1bf607a4b3 to your computer and use it in GitHub Desktop.
delete merged branches powershell
git branch --merged | ?{-not ($_ -like "*master")} | %{git branch -d $_.trim()}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment