Git error- fatal- Needed a single revision


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文件夾或者里面的內容即可。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM