git 删除远程分支
时间: 2023-09-10 10:09:46 浏览: 113
要删除远程分支,可以使用以下命令:git push origin --delete 远程分支名。这个命令会将删除操作推送到名为origin的远程仓库,并删除指定的远程分支。例如,如果要删除名为feature-branch的远程分支,可以使用命令:git push origin --delete feature-branch。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* [git删除远程分支](https://blog.csdn.net/qq_27061049/article/details/128240777)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [如何删除本地和远程的 Git 分支](https://blog.csdn.net/u010665216/article/details/129736023)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文