Skip to content

Commit d202e2c

Browse files
committed
[MOD] git-filter-branch
rename
1 parent 9039c05 commit d202e2c

File tree

8 files changed

+8
-3
lines changed

8 files changed

+8
-3
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

commit-modifiers/README.md git-filter-branch/README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
# README
22

3-
## Reference
3+
## Reference for development
44

55
- [GitPython](https://github.com/gitpython-developers/GitPython)/[Documentation](https://gitpython.readthedocs.io/en/stable/) // only for read
66
- [git-filter-branch](https://git-scm.com/docs/git-filter-branch) // modify by `git filter-branch`
77
- [commit information](https://git-scm.com/docs/git-commit-tree#_commit_information) //modify info in `git filter-branch`
8+
- build images: `docker build --network=host -t git-filter-branch .`
89

910
## Usage
1011

1112
### Depandancy
1213
Mac/Unix/Linux with Docker installed
1314

14-
build images: `docker build --network=host -t git-filter-branch .`
15+
download [modifier.sh](./modifier.sh) &
16+
17+
`chmod +x modifier.sh`
1518

1619
### 导出 commits
1720

18-
`verbose ./modifier.sh export {git-repo-path}` 或者
21+
`./modifier.sh export {git-repo-path}` 或者
22+
1923
`ops=--verbose ./modifier.sh export {git-repo-path}` 用来显示执行过程详情
2024

2125
```bash
@@ -29,6 +33,7 @@ export commit log as ./commits.json file ...
2933
### 根据修订好的提交记录更新 commits
3034

3135
`./modifier.sh modify {git-repo-path} {commit-json-file}` 或者
36+
3237
`ops="--verbose -r 100" ./modifier.sh modify {git-repo-path} {commit-json-file}` 用来显示执行过程详情,指定每次更新的行数(默认20条)
3338

3439

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)