$ git clone -n https://gitee.com/src-opencloudos-rpms/kpatch.git /var/lib/mock/dist-oc9-build-72451-47785/root/chroot_tmpdir/scmroot/kpatch Cloning into '/var/lib/mock/dist-oc9-build-72451-47785/root/chroot_tmpdir/scmroot/kpatch'... $ git fetch origin 56e0f49f945de35190f7af00b70c40cb12d78d0d:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/kpatch * [new ref] 56e0f49f945de35190f7af00b70c40cb12d78d0d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 56e0f49 import kpatch-0.9.9-1.tl4