Skip to content

Commit 3d25d77

Browse files
committed
removes trailing spaces
1 parent ad7ce55 commit 3d25d77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ Submodule DbConnector c3f01dc..c87d55d:
373373
> better connection routine
374374
----
375375

376-
Git will by default try to update *all* of your submodules when you run `git submodule update --remote`.
376+
Git will by default try to update *all* of your submodules when you run `git submodule update --remote`.
377377
If you have a lot of them, you may want to pass the name of just the submodule you want to try to update.
378378

379379
===== Pulling Upstream Changes from the Project Remote
@@ -969,7 +969,7 @@ nothing to commit, working tree clean
969969
----
970970

971971
Using the `--recurse-submodules` flag of `git checkout` can also be useful when you work on several branches in the superproject, each having your submodule pointing at different commits.
972-
Indeed, if you switch between branches that record the submodule at different commits, upon executing `git status` the submodule will appear as ``modified'', and indicate ``new commits''.
972+
Indeed, if you switch between branches that record the submodule at different commits, upon executing `git status` the submodule will appear as ``modified'', and indicate ``new commits''.
973973
That is because the submodule state is by default not carried over when switching branches.
974974

975975
This can be really confusing, so it's a good idea to always `git checkout --recurse-submodules` when your project has submodules.

0 commit comments

Comments
 (0)