Do a git fetch instead of pull

This commit is contained in:
Honza Král
2019-08-21 17:39:28 +02:00
parent a98fa8ba9f
commit d936ba3eb4
+1 -1
View File
@@ -54,7 +54,7 @@ def fetch_es_repo():
shell=True,
)
# reset to the version fron info()
subprocess.check_call("cd %s && git pull" % repo_path, shell=True)
subprocess.check_call("cd %s && git fetch" % repo_path, shell=True)
subprocess.check_call("cd %s && git reset --hard %s" % (repo_path, sha), shell=True)