git - GIT 状态显示没有 midification,但 VSTS 构建失败并出现更新远程错误
问题描述
我有一个 GIT 流并发出以下命令 -
$git submodule update --remote --force
Submodule path 'src/module1': checked out 'b6bbe051d27f84e52378'
.........................................
但是当我发出以下命令时,我看不到任何要提交的内容:
$ git status
On branch feature/featurename
Your branch is up-to-date with 'origin/feature/featurename'.
nothing to commit, working tree clean
当我将流推送到 VSTS 时导致此问题 - 我们的 VSTS 构建脚本将构建标记为失败,说明
Submodules need to be updated to HEAD to deliver to develop. Update all submodules
我该如何解决这个问题?
解决方案
推荐阅读
- c++ - 用于对齐 operator+=、operator-= 等的 Clang 格式设置
- matlab - 我期待使用一些快速方法匹配两个图像
- android - 如何正确将位图转换为 OpenCV 灰度垫
- java - 我想通过json文件控制数字,但它不起作用
- flutter - initState 没有被调用
- python-3.x - 如何使用 Python/XPATH 获取类属性的内容?
- reactjs - 在重定向时保留状态,没有 redux 或 react-router
- python - 在 Python 中重新启动脚本
- powershell - 将 Context 参数中的值连接到 Select-String 输出中的 Line 属性
- reactjs - 通过axios过滤数组得到结果