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

HackerPie
·
·
最初发布于 blog.hackerpie.com

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

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

Remember the colon :

评论
社区准则 博客 联系 反馈 状态
主题