$ git clone -n https://gitee.com/src-anolis-os/mpfr /var/lib/mock/dist-an7-els-build-451929-73148/root/chroot_tmpdir/scmroot/mpfr Cloning into '/var/lib/mock/dist-an7-els-build-451929-73148/root/chroot_tmpdir/scmroot/mpfr'... $ git reset --hard origin/68eab24c2c60dd8cf8466f18d6f1ab632ea6639f fatal: ambiguous argument 'origin/68eab24c2c60dd8cf8466f18d6f1ab632ea6639f': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'