相关疑难解决方法(0)

git fatal:对象错误:unshallow <SHA-1>

我正在尝试取消浅层存储库:

% /bin/git clone --shallow-since='3 years' 'https://github.com/RobertAudi/zsh-hooks'
Cloning into 'zsh-hooks'...
remote: Enumerating objects: 17, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 17 (delta 6), reused 12 (delta 4), pack-reused 0
Unpacking objects: 100% (17/17), 5.29 KiB | 1.76 MiB/s, done.
% cd zsh-hooks && git remote -v
origin  https://github.com/RobertAudi/zsh-hooks (fetch)
origin  ssh://github.com/RobertAudi/zsh-hooks (push)
% git fetch --unshallow origin
fatal: error in object: unshallow 9301f4e3a16df8e7cf8f37b5b93a7b925d8c8bee
fatal: the remote end hung up unexpectedly
Run Code Online (Sandbox Code Playgroud)

我也尝试过将原点更改 …

git git-clone shallow-clone

9
推荐指数
1
解决办法
4092
查看次数

标签 统计

git ×1

git-clone ×1

shallow-clone ×1