$ git clone -n https://gitee.com/opencloudos-stream/kpatch.git /var/lib/mock/dist-ocs23-python311-build-37630-2066/root/chroot_tmpdir/scmroot/kpatch Cloning into '/var/lib/mock/dist-ocs23-python311-build-37630-2066/root/chroot_tmpdir/scmroot/kpatch'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/kpatch * [new ref] HEAD -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f9047a5 update