Skip to content

Instantly share code, notes, and snippets.

@drawcode
Last active June 5, 2017 10:07
Show Gist options
  • Save drawcode/410274c6841233892eb03f2bcb8361ec to your computer and use it in GitHub Desktop.
Save drawcode/410274c6841233892eb03f2bcb8361ec to your computer and use it in GitHub Desktop.
git submodules add/remove
# ADD
git submodule add git@bitbucket.org:drawcode/lib-vr-base.git unity-game/Assets/_app/code/libs/lib-vr-base
git submodule init unity-game/Assets/_app/code/libs/lib-vr-base
git submodule update unity-game/Assets/_app/code/libs/lib-vr-base
### REMOVE
git submodule deinit -f unity-game/Assets/_app/code/libs/lib-vr-base
rm -rf .git/modules/unity-game/Assets/_app/code/libs/lib-vr-base
git rm -f unity-game/Assets/_app/code/libs/lib-vr-base
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment