Skip to content

Instantly share code, notes, and snippets.

@gramcha
Created October 25, 2018 11:22
Show Gist options
  • Save gramcha/7ec35da2f2a2f7faa04e54bf783a9928 to your computer and use it in GitHub Desktop.
Save gramcha/7ec35da2f2a2f7faa04e54bf783a9928 to your computer and use it in GitHub Desktop.
How do I add GIT submodule?
git submodule add https://github.com/<user>/reponame
#in case of older versions of git
git submodule update --init --recursive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment