docs: 调整删除git提交文章中的图片与文字顺序

调整示例部分图片与文字的显示顺序,将说明图片移至命令之前,使步骤逻辑更清晰。
This commit is contained in:
二叉树树
2026-01-24 09:44:28 +08:00
parent 14bd6f60a2
commit 243451a947

View File

@@ -37,13 +37,16 @@ pip install git-filter-repo
git filter-repo --force --path src/secret.txt --invert-paths
```
比如这里我们一不小心提交了个 **微信密码** ,就可以用该命令剔除它
比如这里我们一不小心提交了个 **微信密码**
![](../assets/images/del-git-commit-2.png)
我们可以用该命令将其 **剔除**
```bash
git filter-repo --force --path 微信密码.txt --invert-paths
```
![](../assets/images/del-git-commit-2.png)
![](../assets/images/del-git-commit-4.png)