$ git clone -n git+ssh://git@gitee.com/src-anolis-sig/kmod-sxe.git /var/lib/mock/dist-an8.8-kernel-5.10.134-18-build-416483-72748/root/chroot_tmpdir/scmroot/kmod-sxe Cloning into '/var/lib/mock/dist-an8.8-kernel-5.10.134-18-build-416483-72748/root/chroot_tmpdir/scmroot/kmod-sxe'... $ git fetch origin an8/5.10.134-18.an8-1.3.1.1:KOJI_FETCH_HEAD fatal: couldn't find remote ref an8/5.10.134-18.an8-1.3.1.1 $ git reset --hard origin/an8/5.10.134-18.an8-1.3.1.1 fatal: ambiguous argument 'origin/an8/5.10.134-18.an8-1.3.1.1': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'