> For the complete documentation index, see [llms.txt](https://mm.ricky.moe/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mm.ricky.moe/other/git/shan-chu-fen-zhi.md).

# 删除分支

```bash
// 删除本地分支
git branch -D <branchName>

// 删除远程分支
git push origin --delete <branchName>
```
