$ git clone -n https://gitee.com/src-anolis-os/kpatch.git /var/lib/mock/dist-an23-build-264589-63959/root/chroot_tmpdir/scmroot/kpatch Cloning into '/var/lib/mock/dist-an23-build-264589-63959/root/chroot_tmpdir/scmroot/kpatch'... $ git reset --hard origin/a23 HEAD is now at eac3d20 init package