$ git clone -n git+ssh://git@gitee.com/src-anolis-sig/kmod-mellanox-ethernet.git /var/lib/mock/dist-an8.8-kernel-5.10-build-337562-69711/root/chroot_tmpdir/scmroot/kmod-mellanox-ethernet Cloning into '/var/lib/mock/dist-an8.8-kernel-5.10-build-337562-69711/root/chroot_tmpdir/scmroot/kmod-mellanox-ethernet'... $ git reset --hard origin/an8/5.10.134-16.an8 fatal: ambiguous argument 'origin/an8/5.10.134-16.an8': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'