$ git clone -n https://gitee.com/src-anolis-os/kernel.git /var/lib/mock/dist-an8_5-build-77840-40519/root/chroot_tmpdir/scmroot/kernel Cloning into '/var/lib/mock/dist-an8_5-build-77840-40519/root/chroot_tmpdir/scmroot/kernel'... $ git reset --hard origin/a8 HEAD is now at fab491c update to kernel-4.18.0-348.20.1.el8_5