$ git clone -n https://gitee.com/src-anolis-os/emacs.git /var/lib/mock/dist-an23-riscv64-build-111363-45863/root/chroot_tmpdir/scmroot/emacs Cloning into '/var/lib/mock/dist-an23-riscv64-build-111363-45863/root/chroot_tmpdir/scmroot/emacs'... $ 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 [...] -- [...]'