Last active
August 9, 2025 09:26
-
-
Save cnlohr/04de6edd3e2a75face0a68c53be2017e to your computer and use it in GitHub Desktop.
Revisions
-
cnlohr revised this gist
May 18, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Did you just check out / clone a repository and forget --recursive / --recurse-submodules? Well, do this: ``` git submodule update --init --recursive --remote -
cnlohr created this gist
Aug 19, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ Did you just check out / clone a repository and forget --recursive / --recurse-submodules? Well, then. I have the answer for you: ``` git submodule update --init --recursive --remote ``` For information about why this nugget was lost and burried in another stack exchange article, see this: https://meta.stackoverflow.com/questions/400424/how-can-i-request-that-a-question-merge-be-reversed