How to auto deploying git repositories with submodules on AWS? : <p>I have a submodule in my git repository and my directory structure is like,</p>

<pre><code>app
  -- folder1
  -- folder2
  -- submodule @5855
</code></pre>

<p>I have deployed my code on AWS by using autodeploy service.
Now, on server I have code in the parent-directory but submodule directories are empty.</p>

<p>Q1) How can I get data in submodules. My repository on server is not git repository. Do I need to convert it firstly into git repo and then run <code>submodule</code> commands to get it ?</p>

<p>Q2) How can I automate the submodule deployment as well?</p>

<p>Thanks</p>
