$ git clone -n https://gitee.com/happy_orange/kpatch-build.git /var/lib/mock/dist-an8.6-build-176450-59070/root/chroot_tmpdir/scmroot/kpatch-build Cloning into '/var/lib/mock/dist-an8.6-build-176450-59070/root/chroot_tmpdir/scmroot/kpatch-build'... $ git reset --hard 20531374ff3b95a2e2bb6d112058f977b058a4ea HEAD is now at 2053137 init pakcage