首页 > 解决方案 > 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

我该如何解决这个问题?

标签: gitazure-devops

解决方案


推荐阅读