mirror of
https://github.com/afoim/fuwari.git
synced 2026-01-31 00:53:19 +08:00
docs: 在删除Git提交记录文章中补充pip安装命令
为使用 git-filter-repo 工具提供明确的安装步骤,避免读者在操作过程中因缺少安装命令而中断流程。
This commit is contained in:
@@ -21,6 +21,10 @@ lang: ""
|
||||
|
||||
有个PIP包正好可以满足我们的需求, **git-filter-repo**
|
||||
|
||||
```bash
|
||||
pip install git-filter-repo
|
||||
```
|
||||
|
||||
安装后,进入你的Git仓库运行,接下来,我们只需要传一个文件路径给它即可
|
||||
|
||||
- **--path** 是传入的文件路径,可以是相对路径也可以是绝对路径。但是注意,要用 **/** 分割路径
|
||||
|
||||
Reference in New Issue
Block a user