]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/gitmodules.txt
Merge branch 'bw/format-patch-o-create-leading-dirs'
[thirdparty/git.git] / Documentation / gitmodules.txt
index a66e95b70c363a35dc1fd5413c7063f6372b4b0a..f2a65ba0cad1453da1910504d4c6150e2a7bdd66 100644 (file)
@@ -90,7 +90,7 @@ of the superproject, the setting there will override the one found in
 .gitmodules.
 
 Both settings can be overridden on the command line by using the
-"--ignore-submodule" option. The 'git submodule' commands are not
+"--ignore-submodules" option. The 'git submodule' commands are not
 affected by this setting.
 --
 
@@ -105,14 +105,15 @@ EXAMPLES
 
 Consider the following .gitmodules file:
 
-       [submodule "libfoo"]
-               path = include/foo
-               url = git://foo.com/git/lib.git
-
-       [submodule "libbar"]
-               path = include/bar
-               url = git://bar.com/git/lib.git
+----
+[submodule "libfoo"]
+       path = include/foo
+       url = git://foo.com/git/lib.git
 
+[submodule "libbar"]
+       path = include/bar
+       url = git://bar.com/git/lib.git
+----
 
 This defines two submodules, `libfoo` and `libbar`. These are expected to
 be checked out in the paths `include/foo` and `include/bar`, and for both