diff --git a/modelscope/hub/git.py b/modelscope/hub/git.py index 7943023b..51474504 100644 --- a/modelscope/hub/git.py +++ b/modelscope/hub/git.py @@ -94,7 +94,7 @@ class GitCommandWrapper(metaclass=Singleton): return False def git_lfs_install(self, repo_dir): - cmd = ['git', '-C', repo_dir, 'lfs', 'install'] + cmd = ['-C', repo_dir, 'lfs', 'install'] try: self._run_git_command(*cmd) return True