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