summaryrefslogtreecommitdiffstats
path: root/GitAutoDeploy.py
diff options
context:
space:
mode:
Diffstat (limited to 'GitAutoDeploy.py')
-rwxr-xr-xGitAutoDeploy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/GitAutoDeploy.py b/GitAutoDeploy.py
index 8b59041..5f12546 100755
--- a/GitAutoDeploy.py
+++ b/GitAutoDeploy.py
@@ -64,11 +64,12 @@ class GitWrapper():
cmd = 'cd "' + repo_config['path'] + '"'\
'&& unset GIT_DIR ' +\
'&& git fetch origin ' +\
- '&& git update-index --refresh ' +\
'&& git reset --hard origin/' + branch + ' ' +\
'&& git submodule init ' +\
'&& git submodule update'
+# '&& git update-index --refresh ' +\
+
res = call([cmd], shell=True)
print 'Pull result: ' + str(res)