Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个远程分支,但名称错误,现在我想删除远程分支。问题是我现在不知道怎么做,因为如果我右键单击一个项目-> Git,则只有一个创建远程分支的选项,但没有删除一个选项的选项。
我希望你能帮助我。
在本地克隆 repo 并简单地运行:
git push origin --delete branch_to_delete