$ git clone -n https://gitee.com/src-anolis-os/gettext.git /var/lib/mock/dist-an23-riscv64-build-111364-45863/root/chroot_tmpdir/scmroot/gettext Cloning into '/var/lib/mock/dist-an23-riscv64-build-111364-45863/root/chroot_tmpdir/scmroot/gettext'... $ git reset --hard a23 fatal: ambiguous argument 'a23': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'