$ git clone -n https://gitee.com/zhaohang_mskdxl/kpatch.git /var/lib/mock/dist-an8.6-build-93365-45459/root/chroot_tmpdir/scmroot/kpatch Cloning into '/var/lib/mock/dist-an8.6-build-93365-45459/root/chroot_tmpdir/scmroot/kpatch'... $ git reset --hard origin/a8 HEAD is now at e2d1b6e import kpatch-0.9.2-5.el8.src.rpm