tooling(restep): gfr --strip-blobs-bigger-than 100M
This commit is contained in:
parent
0b15dbdd56
commit
f271db2feb
4
sync.py
4
sync.py
|
@ -568,9 +568,9 @@ def main() -> None:
|
||||||
]
|
]
|
||||||
|
|
||||||
step(
|
step(
|
||||||
desc=f"7 lfs | filtering {len(sotaignored_files)} file(s)",
|
desc=f"7 lfs | filter repo and {len(sotaignored_files)} file(s)",
|
||||||
func=cmd(
|
func=cmd(
|
||||||
"git filter-repo --force --invert-paths "
|
"git filter-repo --force --strip-blobs-bigger-than 100M --invert-paths "
|
||||||
+ " ".join(f'--path ""{lf}' "" for lf in sotaignored_files)
|
+ " ".join(f'--path ""{lf}' "" for lf in sotaignored_files)
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
Reference in a new issue