Skip to content

Commit 4c57a4f

Browse files
Martin Ågrengitster
authored andcommitted
git-submodule.txt: quote usage in monospace, drop backslash
We tend to quote command line examples using `` to set them in a monospace font. The immediate motivation for this patch is to get rid of another instance of \--. As noted in the previous commits, \-- has a tendency of rendering badly. Here, it renders ok (at least with AsciiDoc 8.6.9 and Asciidoctor 1.5.4), but by getting rid of this instance, we reduce the chances of \-- cropping up in places where it matters more. Signed-off-by: Martin Ågren <[email protected]>
1 parent 6955047 commit 4c57a4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-submodule.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ sync [--recursive] [--] [<path>...]::
213213
submodule URLs change upstream and you need to update your local
214214
repositories accordingly.
215215
+
216-
"git submodule sync" synchronizes all submodules while
217-
"git submodule sync \-- A" synchronizes submodule "A" only.
216+
`git submodule sync` synchronizes all submodules while
217+
`git submodule sync -- A` synchronizes submodule "A" only.
218218
+
219219
If `--recursive` is specified, this command will recurse into the
220220
registered submodules, and sync any nested submodules within.

0 commit comments

Comments
 (0)