Last active
December 10, 2015 03:18
-
-
Save jeserkin/4373239 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| 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