$ git clone -n https://gitee.com/src-anolis-sig/cloud-kernel.git /mnt/mock/kojid//dist-an23.3-riscv-build-445238-73233/root/chroot_tmpdir/scmroot/cloud-kernel Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-445238-73233/root/chroot_tmpdir/scmroot/cloud-kernel'... $ git fetch origin a23:KOJI_FETCH_HEAD fatal: couldn't find remote ref a23 $ git reset --hard origin/a23 fatal: ambiguous argument 'origin/a23': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'