$ git clone -n https://gitee.com/src-anolis-os/abattis-cantarell-fonts.git /var/lib/mock/dist-an23-sw8a-build-454033-73616/root/chroot_tmpdir/scmroot/abattis-cantarell-fonts Cloning into '/var/lib/mock/dist-an23-sw8a-build-454033-73616/root/chroot_tmpdir/scmroot/abattis-cantarell-fonts'... $ 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 [...] -- [...]'