$ git clone -n https://gitee.com/src-anolis-os/kmod.git /var/lib/mock/dist-lifsea8-build-153763-52643/root/chroot_tmpdir/scmroot/kmod Cloning into '/var/lib/mock/dist-lifsea8-build-153763-52643/root/chroot_tmpdir/scmroot/kmod'... $ git reset --hard origin/a8-poc fatal: ambiguous argument 'origin/a8-poc': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'