Deleting a Branch with Git

November 2, 2015

If you want need to delete your remote branch using Git, you can write it out fully:

git push origin --delete {branchName} 

Or you can use the shorthand:

git push origin :{branchName}

Tags: Git

Back to Posts