Jerry's Blog

Recording what I learned everyday

View on GitHub


4 June 2019

Git submodule

by Jerry Zhang



git 添加子模块

git submodule add module

git 删除子模块

git submodule deinit module git rm module rm -rf .git/modules/module

git 子模块初始化及更新

git submodule init git submodule update

git 查看远程仓库地址

git remote -v

git 更换远程仓库

git remote remove origin git remote add origin your@addr ——————— 作者:shinefire 来源:CSDN 原文:https://blog.csdn.net/shinefire/article/details/71668847 版权声明:本文为博主原创文章,转载请附上博文链接!

tags: Git, - submodule