> 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/fu-gai-yi-you-ti-jiao.md).

# 覆盖已有提交

覆盖线上已经提交的commit

```bash
git reset --soft [过去某个commithash]
... （做出修改)
git add (fix)
git commit -m 'fix'
git push -f
```
