Hot to push commit id of a specific submodule to main git repository?
<p>I have a repository A, containing two module B and C. When i commit and push from A, B and C commit id are pushed to the main repo. This can be done via a </p>

<pre><code>git add -A
git commit -m 'great commit!'
git push origin master
</code></pre>

<p>Now, I need to push to the main repo the commit id of B, but <em>not</em> that of C. If it was a normal file, I would do</p>

<pre><code>git add specific_file.ext
git commit -m 'another great commit!'
git push origin master
</code></pre>

<p>but in case of a submodule, how to reach the same result?</p>