Skip to content

Commit f11c3b6

Browse files
committed
Reference and highlight a config file appropriately in submodules.asc
1 parent 3e54723 commit f11c3b6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

book/07-git-tools/sections/submodules.asc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,8 @@ Changes to be committed:
5757
First you should notice the new `.gitmodules` file.
5858
This is a configuration file that stores the mapping between the project’s URL and the local subdirectory you’ve pulled it into:
5959

60-
[source,console]
60+
[source,ini]
6161
----
62-
$ cat .gitmodules
6362
[submodule "DbConnector"]
6463
path = DbConnector
6564
url = https://github.com/chaconinc/DbConnector
@@ -689,7 +688,6 @@ $ git commit -am 'Fast forwarded to a common submodule child'
689688

690689
This accomplishes the same thing, but at least this way you can verify that it works and you have the code in your submodule directory when you're done.
691690

692-
693691
==== Submodule Tips
694692

695693
There are a few things you can do to make working with submodules a little easier.

0 commit comments

Comments
 (0)