Skip to content

Commit

Permalink
Minor clarification
Browse files Browse the repository at this point in the history
Because of the `cd DbConnector/` in the previous code section, it was unclear which location to run the `git submodule init` and `git submodule update` commands.
  • Loading branch information
agkhall authored Jan 16, 2025
1 parent f096b30 commit 25638be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/07-git-tools/sections/submodules.asc
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ $
----

The `DbConnector` directory is there, but empty.
You must run two commands: `git submodule init` to initialize your local configuration file, and `git submodule update` to fetch all the data from that project and check out the appropriate commit listed in your superproject:
You must run two commands from the main project: `git submodule init` to initialize your local configuration file, and `git submodule update` to fetch all the data from that project and check out the appropriate commit listed in your superproject:

[source,console]
----
Expand Down

0 comments on commit 25638be

Please sign in to comment.