$ git clone -n https://gitee.com/src-anolis-os/grub2.git /var/lib/mock/dist-an8.10-build-454084-73619/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-an8.10-build-454084-73619/root/chroot_tmpdir/scmroot/grub2'... $ git fetch origin d78b09e69d98f31f310f4e37ac904c1bfc7e57e2:KOJI_FETCH_HEAD fatal: remote error: upload-pack: not our ref d78b09e69d98f31f310f4e37ac904c1bfc7e57e2 fatal: the remote end hung up unexpectedly $ git reset --hard d78b09e69d98f31f310f4e37ac904c1bfc7e57e2 fatal: Could not parse object 'd78b09e69d98f31f310f4e37ac904c1bfc7e57e2'.