pull changes from remote

use `git pull` to pull actual files from the remote instead of using `fetch` for only the metadata
This commit is contained in:
Jonas
2021-07-06 06:21:06 +02:00
committed by GitHub
parent 853b7c46a1
commit 0a30a92fe4

View File

@@ -1066,7 +1066,7 @@ def fetch_repository(name,
if lfs_clone:
git_command = ['git', 'lfs', 'fetch', '--all', '--prune']
else:
git_command = ['git', 'fetch', '--all', '--force', '--tags', '--prune']
git_command = ['git', 'pull', '--all', '--force', '--tags', '--prune']
logging_subprocess(git_command, None, cwd=local_dir)
else:
log_info('Cloning {0} repository from {1} to {2}'.format(