Skip to content

Instantly share code, notes, and snippets.

@Bort-777
Last active February 2, 2023 10:06
Show Gist options
  • Save Bort-777/3efabbbc840bd0cec83541161b1b848a to your computer and use it in GitHub Desktop.
Save Bort-777/3efabbbc840bd0cec83541161b1b848a to your computer and use it in GitHub Desktop.
Local removing already merged branches
git branch --merged | grep -v '*' | xargs git branch -D
@zbranevichfinstek
Copy link

git branch | grep -v '*' | xargs git branch -D

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