Top Rated
Categories
- Git (2)
- Programming (7)
- Rails (8)
- ROR (7)
- Ruby (7)
- Thrift (1)
- Uncategorized (3)
Search with in my blog
Join 9 other subscribers
Technical Articles for RoR Developers
Removing a branch from your remote repo is a little bit different from removing it locally. It’s all about the colon:
Example:
git push origin :heads/some-branch
git push origin :your_branch_name
removes some-branch from the remote repo (apparently git push origin :some-branch works as well).
This works for removing a tag as well:
git push origin :sometag
I found it in the git guides posting it here for *my* reference, and possibly other people as well.
cheers.