diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-02-08 15:48:36 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-02-08 15:48:36 -0800 |
commit | 6546a509a43eda541b7749ee45837d7a74ba7339 (patch) | |
tree | a4753bbbeb6fa8a064cbcf570aadb5d4354a1ceb /gitsubmodules.html | |
parent | c2015e3db30c76ee24b99a14d244f62f1467f581 (diff) | |
download | git-htmldocs-6546a509a43eda541b7749ee45837d7a74ba7339.tar.gz |
Autogenerated HTML docs for v2.43.0-581-g5216f
Diffstat (limited to 'gitsubmodules.html')
-rw-r--r-- | gitsubmodules.html | 6 |
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 <submodule path> && git commit</code>. This can be undone
+<code>git rm <submodule-path> && git commit</code>. This can be undone
using <code>git revert</code>.
</p>
<div class="paragraph"><p>The deletion removes the superproject’s tracking data, which are
@@ -1025,7 +1025,7 @@ git submodule add <URL> <path></code></pre> <div class="literalblock">
<div class="content">
<pre><code># Occasionally update the submodule to a new version:
-git -C <path> checkout <new version>
+git -C <path> checkout <new-version>
git add <path>
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>
|