$ git clone -n https://gitee.com/src-anolis-sig/kmod-ast.git /var/lib/mock/dist-an8-kernel-5.10.134-14.1-build-281335-64675/root/chroot_tmpdir/scmroot/kmod-ast Cloning into '/var/lib/mock/dist-an8-kernel-5.10.134-14.1-build-281335-64675/root/chroot_tmpdir/scmroot/kmod-ast'... $ git fetch origin a8/5.10.134-14.1:KOJI_FETCH_HEAD fatal: couldn't find remote ref a8/5.10.134-14.1 $ git reset --hard origin/a8/5.10.134-14.1 fatal: ambiguous argument 'origin/a8/5.10.134-14.1': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'