/gist:5748d86ddb47f5d188df Secret
Created
October 3, 2013 15:54
Star
You must be signed in to star a gist
This file contains 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
| ...create repos... | |
| git clone git@github.com:seishun/A.git | |
| git clone git@github.com:seishun/B.git | |
| cd A | |
| git submodule add -b master git@github.com:seishun/B.git | |
| git add * | |
| git commit -am "add B" | |
| git push | |
| ...edit file in B... | |
| cd ../B | |
| git commit -am "change readme" | |
| git push | |
| cd .. | |
| git clone --recursive git@github.com:seishun/A.git A1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment