$ git clone -n https://gitee.com/src-anolis-sig/kmod-hinic3.git /var/lib/mock/dist-an23-kernel-6.6.102-6_rc2.2-build-545609-87044/root/chroot_tmpdir/scmroot/kmod-hinic3 Cloning into '/var/lib/mock/dist-an23-kernel-6.6.102-6_rc2.2-build-545609-87044/root/chroot_tmpdir/scmroot/kmod-hinic3'... $ git reset --hard an23/6.6.102-6_rc2.2.an23-17.12.5.0 fatal: ambiguous argument 'an23/6.6.102-6_rc2.2.an23-17.12.5.0': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'