You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/07-git-tools/sections/submodules.asc
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,9 +57,8 @@ Changes to be committed:
57
57
First you should notice the new `.gitmodules` file.
58
58
This is a configuration file that stores the mapping between the project’s URL and the local subdirectory you’ve pulled it into:
59
59
60
-
[source,console]
60
+
[source,ini]
61
61
----
62
-
$ cat .gitmodules
63
62
[submodule "DbConnector"]
64
63
path = DbConnector
65
64
url = https://github.com/chaconinc/DbConnector
@@ -689,7 +688,6 @@ $ git commit -am 'Fast forwarded to a common submodule child'
689
688
690
689
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.
691
690
692
-
693
691
==== Submodule Tips
694
692
695
693
There are a few things you can do to make working with submodules a little easier.
0 commit comments