Skip to content

Instantly share code, notes, and snippets.

@jeserkin
Last active December 10, 2015 03:18
Show Gist options
  • Select an option

  • Save jeserkin/4373239 to your computer and use it in GitHub Desktop.

Select an option

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