Computing Magazine

Remove Remote Branch with GIT

Posted on the 07 August 2013 by Akahgy

Description:

Having pushed a wrongly extended branch to origin, or you just don’t need to have a branch both locally and remote.

Solution:

Locally, deleting the branch was covered in a previous article.

However, there are some cases that require the branch to be deleted from origin. With GIT this is very easy:

git push origin :branchName


Back to Featured Articles on Logo Paperblog

Magazine