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 :

版权声明:本文为原创文章,转载请注明来源:《Delete multiple git remote branches by prefixing all refs with a colon - Hackerpie》,谢绝未经允许的转载。