$ git clone -n https://gitee.com/lxpzero/kpatch.git /var/lib/mock/dist-an23.3-build-416030-72865/root/chroot_tmpdir/scmroot/kpatch Cloning into '/var/lib/mock/dist-an23.3-build-416030-72865/root/chroot_tmpdir/scmroot/kpatch'... $ git fetch origin bbe532281ac9315f4544d01d7f1c405a7404f00d:KOJI_FETCH_HEAD From https://gitee.com/lxpzero/kpatch * [new ref] bbe532281ac9315f4544d01d7f1c405a7404f00d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bbe5322 update to 0.9.7-4