$ git clone -n git+ssh://git@gitee.com/src-anolis-sig/kmod-mellanox.git /var/lib/mock/dist-an8.8-kernel-4.19.91-27.8-build-396030-72090/root/chroot_tmpdir/scmroot/kmod-mellanox Cloning into '/var/lib/mock/dist-an8.8-kernel-4.19.91-27.8-build-396030-72090/root/chroot_tmpdir/scmroot/kmod-mellanox'... $ git reset --hard origin/an8/4.19.91-27.8.an8-23.10 HEAD is now at c417798 Build 4.19.91-27.8.an8 anolis_release=1