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