$ git clone -n https://gitee.com/src-anolis-sig/kmod-ast.git /var/lib/mock/dist-an8-exp-oot-build-204384-61062/root/chroot_tmpdir/scmroot/kmod-ast Cloning into '/var/lib/mock/dist-an8-exp-oot-build-204384-61062/root/chroot_tmpdir/scmroot/kmod-ast'... $ git reset --hard testing/a8/5.10.134-13.an8 fatal: ambiguous argument 'testing/a8/5.10.134-13.an8': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'