$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/kernel.git /var/lib/mock/dist-an8-build-52957-25182/root/chroot_tmpdir/scmroot/kernel Cloning into '/var/lib/mock/dist-an8-build-52957-25182/root/chroot_tmpdir/scmroot/kernel'... $ git reset --hard origin/a8.2 HEAD is now at ba40f68 update to kernel-4.18.0-193.65.2.el8_2.src.rpm