diff --git a/gitlab/githelper.py b/gitlab/githelper.py index ccd232b..c885f53 100644 --- a/gitlab/githelper.py +++ b/gitlab/githelper.py @@ -23,3 +23,5 @@ for proj in projects: if not os.path.exists('repository/' + path + '/' + name): os.system('cd repository/' + path + ' && git clone ' + http_url_to_repo) os.system('cd repository/' + path + ' && git pull') + os.system('cd repository/' + path + ' && git submodule init') + os.system('cd repository/' + path + ' && git submodule update')