Skip to content

Instantly share code, notes, and snippets.

@jeserkin
Last active December 10, 2015 03:18
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jeserkin/4373239 to your computer and use it in GitHub Desktop.
Main repo: A
Submodule repo: B
~B (master): git commit -m 'Something was done'
~A (master): cd submodule
~A/submodule (master): git pull
~B (master): git push
~A/submodule (master): cd ..
~A (master): git add submodule
~A (master): git commit -m 'Something was done again'
~A (master): git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment