Created
August 18, 2016 12:05
-
-
Save chestozo/8544539ae1a8c59374a9a313ebc8610b to your computer and use it in GitHub Desktop.
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
# Based on http://stackoverflow.com/a/1260982/449345 | |
# The most mneeeeee part is this one: `rm -rf .git/modules/mmmodule` | |
# This script can be useful in case you are changing origin for your | |
# nice and cool mmmodule. | |
git submodule deinit -f mmmodule | |
rm -rf .git/modules/mmmodule # kind of WAAAAT?! | |
git submodule init mmmodule | |
git submodule update --recursive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment