Skip to content

Commit b1acfed

Browse files
committed
Revert to fetch
1 parent 18e78a4 commit b1acfed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

github_backup/github_backup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ def fetch_repository(name,
10981098
if lfs_clone:
10991099
git_command = ['git', 'lfs', 'fetch', '--all', '--prune']
11001100
else:
1101-
git_command = ['git', 'pull', '--all', '--force', '--tags', '--prune']
1101+
git_command = ['git', 'fetch', '--all', '--force', '--tags', '--prune']
11021102
logging_subprocess(git_command, None, cwd=local_dir)
11031103
else:
11041104
log_info('Cloning {0} repository from {1} to {2}'.format(

0 commit comments

Comments
 (0)