$ git clone -n git+ssh://git@gitee.com/src-anolis-sig/kmod-mellanox-ethernet.git /var/lib/mock/dist-an8.8-kernel-5.10-build-337505-69666/root/chroot_tmpdir/scmroot/kmod-mellanox-ethernet Cloning into '/var/lib/mock/dist-an8.8-kernel-5.10-build-337505-69666/root/chroot_tmpdir/scmroot/kmod-mellanox-ethernet'... $ git fetch origin an8/5.10.134-16.1.an8:KOJI_FETCH_HEAD fatal: couldn't find remote ref an8/5.10.134-16.1.an8 fatal: the remote end hung up unexpectedly [session-cd4d748c] Grpc Upload Pack error: rpc error: code = Internal desc = cmd wait: exit status 128, stderr: "fatal: the remote end hung up unexpectedly\n" $ git reset --hard origin/an8/5.10.134-16.1.an8 fatal: ambiguous argument 'origin/an8/5.10.134-16.1.an8': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'