— Clone repository with submodules automatically:
git clone --recursive [email protected]:name/repo.git
— Initialize submodules after regular cloning:
— Clone repository with submodules automatically:
git clone --recursive [email protected]:name/repo.git
— Initialize submodules after regular cloning:
This gist has been converted to an article: https://steinbaugh.com/posts/git-private-fork.html
| # I'm no longer using this approach. | |
| # | |
| # Instead, I encourage you to check out my transformer package. | |
| # https://steinbaugh.com/transformer/ | |
| # https://github.com/steinbaugh/transformer/ | |
| # | |
| # - M | |