烟台市龙口建设局网站,球队排名榜实时排名,佛山市和城乡建设局网站,网站制作联盟0 Preface/Foreword
项目开发中#xff0c;经常会使用第三方的算法或者功能#xff0c;那么就需要把对应的repo以子模块的方式添加到当前repo中。
添加命令#xff1a; git submodule add URL 1 问题表现
子模块添加成功#xff0c;但是GitLab CI阶段#xff…0 Preface/Foreword
项目开发中经常会使用第三方的算法或者功能那么就需要把对应的repo以子模块的方式添加到当前repo中。
添加命令 git submodule add URL 1 问题表现
子模块添加成功但是GitLab CI阶段报错错误内容 fatal: could not read username for xxx: no such device or address 2 解决方法
参考文档Gitlab CI 拉取 submodules_gitlab ci submodule-CSDN博客 需要在repository下面添加deploy token并在主repo中的.gitmodule中添加生成的token。
2.1 子模块生成deploy token Note该令牌无法找回而且只会显示一次所以需要保存下来。 2.2 .gitmodule添加deploy token