mirror of
https://github.com/afoim/fuwari.git
synced 2026-01-31 09:03:18 +08:00
docs: 调整删除git提交文章中的图片与文字顺序
调整示例部分图片与文字的显示顺序,将说明图片移至命令之前,使步骤逻辑更清晰。
This commit is contained in:
@@ -37,13 +37,16 @@ pip install git-filter-repo
|
|||||||
git filter-repo --force --path src/secret.txt --invert-paths
|
git filter-repo --force --path src/secret.txt --invert-paths
|
||||||
```
|
```
|
||||||
|
|
||||||
比如这里我们一不小心提交了个 **微信密码** ,就可以用该命令剔除它
|
比如这里我们一不小心提交了个 **微信密码**
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
我们可以用该命令将其 **剔除**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git filter-repo --force --path 微信密码.txt --invert-paths
|
git filter-repo --force --path 微信密码.txt --invert-paths
|
||||||
```
|
```
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user