大佬教程收集整理的这篇文章主要介绍了Xcode bot:git子模块未初始化,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
didi@mac:/Library/Server/Xcode/Data/BotRuns/Cache/c5fda8f4-4d25-4d25-c18a-eb0b16a06692/source$git submodule status +c6e8420aec4147641fb1ca12d9f1d31bdd804e77 libs/asi-http-request (v1.7-320-gc6e8420) -ae64a38766b42f236bb94f0e661cddb829f9ac43 libs/kraken -7da02b323636bbaa0bbbf5b4eb229fcc07b1e14a libs/route-me 152f9ee5576e710705a49032253d7d5af5366f9c libs/routIng (152f9eE) 347aaf74fe0c6388785095efdbf6397851514b7f libs/rtlabel (1.0-32-g347aaf7) -562cf6b1c879f03546f5184e012cea15c4f159db libs/skmaps
( – 表示未初始化)
查看机器人日志,它似乎只是忽略子模块初始化部分中丢失的子模块:
... checking connectivity... done Submodule 'libs/asi-http-request' (https://github.com/BikeCityGuide/asi-http-request.git) registered for path 'libs/asi-http-request' Submodule 'libs/routIng' (ssh://mac_ci@rooty.bikecityguide.org/var/repos/libroutIng.git) registered for path 'libs/routIng' Submodule 'libs/rtlabel' (https://github.com/BikeCityGuide/RTLabel.git) registered for path 'libs/rtlabel' @R_925_1419@ into 'libs/asi-http-request'... ...
这里或其他地方没有错误消息.没有提到例如日志中任何位置的“kraken”(缺少子模块的名称).
手动签出时(clone,submodule init,submodule updatE),所有子模块都被初始化.
.gitmodules看起来像这样:
$cat .gitmodules [submodule "libs/asi-http-request"] path = libs/asi-http-request url = https://github.com/BikeCityGuide/asi-http-request.git [submodule "libs/rtlabel"] path = libs/rtlabel url = https://github.com/BikeCityGuide/RTLabel.git [submodule "libs/routIng"] path = libs/routIng url = ../libroutIng.git [submodule "libs/kraken"] path = libs/kraken url = ../kraken_ios.git [submodule "libs/route-me"] path = libs/route-me url = ../route-me.git [submodule "libs/skmaps"] path = libs/skmaps url = ../skmaps.git
基本存储库和使用相对URL引用的4个子模块存储库都需要ssh身份验证.在OSX服务器中设置的用户可以访问所有这些用户.
机器人的日志不包含试图拉动丢失的子模块的痕迹.
我可以手动修复本地存储库,但我不想再添加新项目和新子模块的问题.
git版本1.8.4.2
我没有想法.
$git submodule 8a88bc41c9dc0f57c921d82bc4e7b93e1c4cbf7a InAppStore (heads/master) e4203f9f61d2546868c1274da5c7a0c56b87a737 Libraries (heads/master) <--- IGNORED 01902f255e6c3d90f0db41cb62dd2934098b98dd MixpanelTracker (heads/master) e2bee59accd817d50dff881a42c9e9afe307226f XLFacility (1.4.1-5-ge2bee59)
cd "$XCS_sourcE_DIR/{YOUR_APP_REPO_NAME_WITHOUT_DOT_GIT_SUFFIX}" git submodule update --init --recursive
在这一点上,事情正在建立,虽然有关于结账不干净或类似的非致命警告.当我改变机器人的配置以将“清洁”设置为“始终”时,它们就消失了.
以上是大佬教程为你收集整理的Xcode bot:git子模块未初始化全部内容,希望文章能够帮你解决Xcode bot:git子模块未初始化所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。