git submodule

1、从现有的拷贝到新项目,然后记得修改相关内容

2、push

原文地址:https://www.cnblogs.com/myfrank/p/10654764.html