运维网's Archiver
论坛
›
git/gitlab
› git submodule获取子模块
leonheart
发表于 2018-9-18 06:43:35
git submodule获取子模块
从github上获取工程,经常会出现依赖其它github上代码的情况,这时如果每一个都手动下载,实在太麻烦了。其实git给我们提供了相互引用的功能,可以在工程中直接引入其它的代码库,这样可以保证每次使用的子模块也都是最新的。
git clone https://github.com/Kjuly/iPokeMon.git
git submodule init
git submodule update
页:
[1]
查看完整版本:
git submodule获取子模块