$ 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-349374-69758/root/chroot_tmpdir/scmroot/kmod-mellanox-ethernet Cloning into '/var/lib/mock/dist-an8.8-kernel-5.10-build-349374-69758/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 $ 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 [...] -- [...]'