diff options
Diffstat (limited to 'gitautodeploy/wrappers/git.py')
-rw-r--r-- | gitautodeploy/wrappers/git.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitautodeploy/wrappers/git.py b/gitautodeploy/wrappers/git.py index 5f97171..6ecd30c 100644 --- a/gitautodeploy/wrappers/git.py +++ b/gitautodeploy/wrappers/git.py @@ -34,6 +34,7 @@ class GitWrapper(): commands.append('git reset --hard ' + repo_config['remote'] + '/' + repo_config['branch']) commands.append('git submodule init') commands.append('git submodule update') + commands.append('git submodule foreach --recursive "git submodule init && git submodule update') #commands.append('git update-index --refresh') # All commands needs to success |