Skip to content

Instantly share code, notes, and snippets.

@seishun
Created October 3, 2013 15:54
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save seishun/5748d86ddb47f5d188df to your computer and use it in GitHub Desktop.
...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