summaryrefslogtreecommitdiffstats
path: root/gitsubmodules.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-02-08 15:48:36 -0800
committerJunio C Hamano <gitster@pobox.com>2024-02-08 15:48:36 -0800
commit6546a509a43eda541b7749ee45837d7a74ba7339 (patch)
treea4753bbbeb6fa8a064cbcf570aadb5d4354a1ceb /gitsubmodules.html
parentc2015e3db30c76ee24b99a14d244f62f1467f581 (diff)
downloadgit-htmldocs-6546a509a43eda541b7749ee45837d7a74ba7339.tar.gz
Autogenerated HTML docs for v2.43.0-581-g5216f
Diffstat (limited to 'gitsubmodules.html')
-rw-r--r--gitsubmodules.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/gitsubmodules.html b/gitsubmodules.html
index f125266d3..af6727efe 100644
--- a/gitsubmodules.html
+++ b/gitsubmodules.html
@@ -932,7 +932,7 @@ is not affected. This can be undone using <code>git submodule init</code>.</p></
<li>
<p>
Deleted submodule: A submodule can be deleted by running
-<code>git rm &lt;submodule path&gt; &amp;&amp; git commit</code>. This can be undone
+<code>git rm &lt;submodule-path&gt; &amp;&amp; git commit</code>. This can be undone
using <code>git revert</code>.
</p>
<div class="paragraph"><p>The deletion removes the superproject&#8217;s tracking data, which are
@@ -1025,7 +1025,7 @@ git submodule add &lt;URL&gt; &lt;path&gt;</code></pre>
<div class="literalblock">
<div class="content">
<pre><code># Occasionally update the submodule to a new version:
-git -C &lt;path&gt; checkout &lt;new version&gt;
+git -C &lt;path&gt; checkout &lt;new-version&gt;
git add &lt;path&gt;
git commit -m "update submodule to new version"</code></pre>
</div></div>
@@ -1113,7 +1113,7 @@ affects other Git commands, see <a href="git-config.html">git-config(1)</a> for
<div id="footer">
<div id="footer-text">
Last updated
- 2023-10-23 14:43:46 PDT
+ 2024-02-08 15:45:59 PST
</div>
</div>
</body>