mirror of
https://github.com/wassname/alpaca_convert.git
synced 2026-09-11 12:00:31 +08:00
clean
This commit is contained in:
@@ -35,4 +35,6 @@ if __name__ == '__main__':
|
||||
assert result.returncode==0, 'git lfs should be installed'
|
||||
|
||||
print(f'cloning "{repo}" to "{dest}"')
|
||||
Repo.clone_from(repo, dest, multi_options=['--depth=1'])
|
||||
Repo.clone_from(repo, dest, multi_options=['--depth=1', '--branch=main', '--filter=blob:none'])
|
||||
|
||||
# FIXME it clones the git folder that has a huge size, it seems to have the old git lfs objects. so it's double the size. I can't seem to stop that
|
||||
|
||||
Reference in New Issue
Block a user