-
-
Save netanel-haber/13e33f5e4e4aea32351b7a416afda31e to your computer and use it in GitHub Desktop.
add --remote
This file contains 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 characters
# https://stackoverflow.com/questions/3796927/how-do-i-git-clone-a-repo-including-its-submodules/56833308#comment132351771_56833308 | |
git submodule foreach --recursive git clean -xfd | |
git submodule foreach --recursive git reset --hard | |
git submodule update --init --recursive --remote |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment