Which Git/bitbucket Repositories structure choose for Parse Projects with CloudCode + AndroidStudio?
<p>I have a Parse Project that includes an Android application developed on AndroidStudio and some JavaScript Parse Cloud code (+web hosting). I'm using Git on Bitbucket for Versioning.  I'm wondering how to organize my Repository(ies) in order to:</p>

<ul>
<li>Have separate commits between  the 2 sub projects: cloud code and Android code (in order to have easy revert from each subprojects …)</li>
<li>Have some common release between these both subprojects (that must works together obviously).</li>
<li>Have a common Parent directory to simply check out the both sub-projects </li>
</ul>

<p>If I use a single Repository (in a parent directory) like this:</p>

<pre><code>Parent-platformDir
                 /.git
                /myAndroidStudioProject
                /myCloudCodeApp
</code></pre>

<p>Then when I link AndroidStudio to this Git VCS it will detect all the cloud code modifications and I might mix the commit between these 2 subprojects.</p>

<p>I know there are some features like Gitsubmodule of Gitsubtree, but it's not clear at all and I'm afraid that it doesn't suit to my need.</p>

<p>So which kind of Git Repository architecture suit best?</p>