Git error- fatal- Needed a single revision

时间:2017-01-11 08:04:06   收藏:0   阅读:2265

Cloning/updating Appium sample-code submodule

Command failed
stdout:

stderr:
fatal: Needed a single revision
Unable to find current revision in submodule path ‘submodules/sample-code‘

Warning: Command failed: git submodule update --init "E:\project\appium\submodules\sample-code"
fatal: Needed a single revision
Unable to find current revision in submodule path ‘submodules/sample-code‘
Use --force to continue.

出现此问题的原因是 git更新太慢,中间中断过,解决办法,删掉sample-code文件夹或者里面的内容即可。

原文:http://www.cnblogs.com/nemolmt/p/6271371.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!