mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-05-13 11:59:12 -05:00
@@ -123,6 +123,10 @@ class Store(object):
|
||||
)
|
||||
with cwd(directory):
|
||||
cmd_output('git', 'reset', ref, '--hard', env=no_git_env())
|
||||
cmd_output(
|
||||
'git', 'submodule', 'update', '--init', '--recursive',
|
||||
env=no_git_env(),
|
||||
)
|
||||
|
||||
return self._new_repo(repo, ref, clone_strategy)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user