Skip to content

Instantly share code, notes, and snippets.

@atainton
Forked from mdkrog/gist:fa05e06dddc18e91c093
Created February 4, 2016 13:28
Show Gist options
  • Save atainton/33d6b35c6b7397b8f5d4 to your computer and use it in GitHub Desktop.
Save atainton/33d6b35c6b7397b8f5d4 to your computer and use it in GitHub Desktop.
Remove remote branch
# soft delete
git branch -d -r remote_name/branch_name
# hard delete
git push origin :branchname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment