Skip to content

Instantly share code, notes, and snippets.

@weirdpattern
Last active July 19, 2018 20:23
Show Gist options
  • Save weirdpattern/f449239f369d279b24ee42c002509312 to your computer and use it in GitHub Desktop.
Save weirdpattern/f449239f369d279b24ee42c002509312 to your computer and use it in GitHub Desktop.
.2018.06.21.delete-remote-git-branches
2018.06.21.delete-remote-git-branches
# deletes remote branch "my-branch"
git -push origin --delete my-branch
git push <remote> --delete <branch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment