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