summaryrefslogtreecommitdiffstats
path: root/gitsubmodules.txt
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.txt
parentc2015e3db30c76ee24b99a14d244f62f1467f581 (diff)
downloadgit-htmldocs-6546a509a43eda541b7749ee45837d7a74ba7339.tar.gz
Autogenerated HTML docs for v2.43.0-581-g5216f
Diffstat (limited to 'gitsubmodules.txt')
-rw-r--r--gitsubmodules.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitsubmodules.txt b/gitsubmodules.txt
index 8400d591d..f7b5a25a0 100644
--- a/gitsubmodules.txt
+++ b/gitsubmodules.txt
@@ -151,7 +151,7 @@ the superproject's `$GIT_DIR/config` file, so the superproject's history
is not affected. This can be undone using `git submodule init`.
* Deleted submodule: A submodule can be deleted by running
-`git rm <submodule path> && git commit`. This can be undone
+`git rm <submodule-path> && git commit`. This can be undone
using `git revert`.
+
The deletion removes the superproject's tracking data, which are
@@ -229,7 +229,7 @@ Workflow for a third party library
git submodule add <URL> <path>
# 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"