git branch -d
时间: 2023-08-25 08:11:32 浏览: 128
git branch -d是用来删除本地分支的命令。使用该命令后,可以删除指定的本地分支。如果要删除的分支有未合并的更改,需要使用-D来强制删除。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* [【Git】Git 分支管理 ( 创建并切换分支 | 查看分支 git branch | 合并分支 git merge dev | 删除分支 git ...](https://blog.csdn.net/han1202012/article/details/121791062)[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^v92^chatsearchT3_1"}} ] [.reference_item]
- *2* *3* [git branch 分支命令图文详解](https://blog.csdn.net/wangdawei_/article/details/124556712)[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^v92^chatsearchT3_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文