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
我也有这个问题,但只有四个版本之一。你找到解决方案吗? –