Delete multiple git remote branches by prefixing all refs with a colon

21/Jul/2013 · 1 minute read

This article shows how to delete multiple remote branches in Git.


git push origin :branch-1 :branch-2 [:other-branches]

Remember the colon :