$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/kernel.git /var/lib/mock/dist-el8-updates-build-19266-8400/root/chroot_tmpdir/scmroot/kernel Cloning into '/var/lib/mock/dist-el8-updates-build-19266-8400/root/chroot_tmpdir/scmroot/kernel'... $ git reset --hard origin/a8 HEAD is now at 59374a0 update to kernel-4.18.0-193.51.1.el8_2.src.rpm