Skip to content

Instantly share code, notes, and snippets.

@jordelver
Created September 18, 2013 15:30
Show Gist options
  • Save jordelver/6610926 to your computer and use it in GitHub Desktop.
Save jordelver/6610926 to your computer and use it in GitHub Desktop.
Prune remote tracking branches

Prune remote tracking branches

git remote prune --dry-run origin

Remove --dry-run to make it happen.

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