summaryrefslogtreecommitdiffstats
path: root/man7/gitsubmodules.7
diff options
context:
space:
mode:
Diffstat (limited to 'man7/gitsubmodules.7')
-rw-r--r--man7/gitsubmodules.710
1 files changed, 5 insertions, 5 deletions
diff --git a/man7/gitsubmodules.7 b/man7/gitsubmodules.7
index 3cf5ec72a..d42b675bb 100644
--- a/man7/gitsubmodules.7
+++ b/man7/gitsubmodules.7
@@ -2,12 +2,12 @@
.\" Title: gitsubmodules
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\" Date: 2024-02-06
+.\" Date: 2024-02-08
.\" Manual: Git Manual
-.\" Source: Git 2.43.0.561.g235986be82
+.\" Source: Git 2.43.0.581.g5216f8f5c4
.\" Language: English
.\"
-.TH "GITSUBMODULES" "7" "2024\-02\-06" "Git 2\&.43\&.0\&.561\&.g235986" "Git Manual"
+.TH "GITSUBMODULES" "7" "2024\-02\-08" "Git 2\&.43\&.0\&.581\&.g5216f8" "Git Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -267,7 +267,7 @@ file, so the superproject\(cqs history is not affected\&. This can be undone usi
.IP \(bu 2.3
.\}
Deleted submodule: A submodule can be deleted by running
-\fBgit rm <submodule path> && git commit\fR\&. This can be undone using
+\fBgit rm <submodule\-path> && git commit\fR\&. This can be undone using
\fBgit revert\fR\&.
.sp
The deletion removes the superproject\(cqs tracking data, which are both the
@@ -391,7 +391,7 @@ git submodule add <URL> <path>
.\}
.nf
# 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"
.fi