Skip to content

Instantly share code, notes, and snippets.

@rm--
Created August 27, 2015 07:27
Show Gist options
  • Save rm--/5711fe816784048f27f6 to your computer and use it in GitHub Desktop.
Save rm--/5711fe816784048f27f6 to your computer and use it in GitHub Desktop.
git remote prune origin
# delete unused remote branches
git remote prune origin
@rm--
Copy link
Author

rm-- commented Sep 15, 2015

Or use git push origin --delete <remote-branch>
only for old version of git

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