However, if you would like to create some PRs for the submodule. Instead of adding the target repository as submodule directly, we fork it and add the one in our repository as submodule.
For example, there are 2 repositories in my Github:
KarateJB/GitPractice
KarateJB/GitPracticeSub which is forked from TheForceJB/GitPracticeSub
Add KarateJB/GitPracticeSub as sub-module into KarateJB/GitPractice. Modify and create PR at KarateJB/GitPracticeSub.
近期评论