Last active
March 22, 2024 15:09
-
-
Save nmccready/0a9db379485bc9eb6f94dc021e2ab124 to your computer and use it in GitHub Desktop.
unfuck git submodules
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
rm -rf $@ && git checkout origin/master $@ && git submodule update --init |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage:
Your submodules dir is
modules
.