2
我有一個回購協議,當上特拉維斯測試,一致給出瞭如下錯誤:混帳「預期淺列表」的錯誤時,淺如測試過真正
$ if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
fatal: git fetch-pack: expected shallow list
The command "if [[ -a .git/shallow ]]; then git fetch --unshallow; fi" failed and exited with 128 during .
Your build has been stopped.
可以看到an example here,雖然它可能是鏈接需要授權。
我覺得奇怪的是,git fetch --unshallow
只有在已經確定它很淺時纔會運行。我應該補充說我已經在其他許多存儲庫中使用過這個構造,並且從來沒有遇到任何問題。
在我的本地機,.git
內容是:
myrepo.git$ ls -a
. branches config FETCH_HEAD HEAD index logs ORIG_HEAD
.. COMMIT_EDITMSG description gitk.cache hooks info objects refs
我也有這個問題,但只有四個版本之一。你找到解決方案嗎? –