Skip to content

Instantly share code, notes, and snippets.

@fud
Created October 4, 2019 00:24
Show Gist options
  • Save fud/a242b2f619e69ee49d63a0a52041903a to your computer and use it in GitHub Desktop.
Save fud/a242b2f619e69ee49d63a0a52041903a to your computer and use it in GitHub Desktop.
Remove local branches not on the origin
git remote prune origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment