$ git clone -n https://gitee.com/src-anolis-os/gawk.git /var/lib/mock/dist-lifsea8-build-153754-52643/root/chroot_tmpdir/scmroot/gawk Cloning into '/var/lib/mock/dist-lifsea8-build-153754-52643/root/chroot_tmpdir/scmroot/gawk'... $ 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 [...] -- [...]'