Git submodule push when it is a GitHub library?
I added a GitHub-based library as a submodule and modified it. I need to share the modification with my teammates.
No: you need to fork that GitHub project first, and add that fork as a submodule.
(or change the current submodule url by the one of your fork)
Once you have added your fork as a submodule, you will be able to push modification to its upstream repo.
Submodule or not, you cannot modify GitHub repos you are not the owner (or a declared collaborator) of.
链接地址: http://www.djcxy.com/p/92328.html