Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Voronenko/5a64454f2b75a8134641 to your computer and use it in GitHub Desktop.
Save Voronenko/5a64454f2b75a8134641 to your computer and use it in GitHub Desktop.
Delete all obsolete branches, that were already merged into develop on remote
git branch --merged develop | grep -v "\* develop" | xargs -n 1 git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment