TF401174: The item 'xxxxxx' could not be found in the repository 'xxxxxx' at the version specified by '<Branch: master >'

按照Get Started with Git and Team Services的介绍创建了在Team Services上创建了一个Repo,并在本地clone了一份。但是,用git命令commit&push上载的一个目录文件,在Team Services页面上总是显示TF401174错误 (如下所示)。同时,在页面是也无法删除该文件。感觉是本地的git配置问题。

 

TF401174: The item 'elasticsearch-cloud-azure' could not be found in the repository 'snapshot' at the version specified by '<Branch: master >' (resolved to commit '0c364f11f8b1f7500ff08ecb580dda16db9ad766')


解决办法:在本地运行git init,然后在本地删除该文件并commit&push。

posted @ 2021-12-29 10:50  云long  阅读(82)  评论(0编辑  收藏  举报