Last active
October 29, 2019 20:57
-
-
Save johnnymatthews/7a4d23df9c4c1f111a3814c3eae8197e 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
# Add a submodule | |
git submodule add -b master https://github.com/mohnjatthews/docs content | |
git submodule init | |
# Update a submodule | |
git submodule update --remote | |
# Update a submodule that came with a cloned repo | |
git submodule update --init --remote | |
# Remove a submodule | |
git submodule deinit -f -- content | |
rm -rf .git/modules/content | |
git rm -f content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment