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