这是因为工作空间的代码和库上代码不一致,需要修改或者删除工作空间中不一致的部分,使之与库上的代码保存一致。使用gits status查看一下

root@96e6b9395039:/home/ai/workspace/ITS-xs_debian-rel# git status
HEAD detached at 00107dc
Untracked files:
  (use "git add <file>..." to include in what will be committed)
    products/ITS-xs_debian-rel/

nothing added to commit but untracked files present (use "git add" to track)

删除products/ITS-xs_debian-rel