$ git clone -n https://gitee.com/opencloudos-stream/kpatch.git /var/lib/mock/dist-ocs23-build-235863-20655/root/chroot_tmpdir/scmroot/kpatch Cloning into '/var/lib/mock/dist-ocs23-build-235863-20655/root/chroot_tmpdir/scmroot/kpatch'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/kpatch * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6e3a1d2 Rebuilt for loongarch release