技术小黑屋

How to Delete Git Remote Branches

It’s easy to remove a certain remote branch in a Git respository. You could try this

1
git push origin --delete <branchName>

And of course another short command is waiting for You

1
git push origin :<branchName>

我的博客即将搬运同步至腾讯云+社区,邀请大家一同入驻:https://cloud.tencent.com/developer/support-plan?invite_code=2t07a740wrok0


我的知乎 Live 推荐