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