$ git clone -n https://gitee.com/src-opencloudos-rpms/kmod-kvdo.git /var/lib/mock/dist-oc8-build-81150-54799/root/chroot_tmpdir/scmroot/kmod-kvdo Cloning into '/var/lib/mock/dist-oc8-build-81150-54799/root/chroot_tmpdir/scmroot/kmod-kvdo'... $ git fetch origin 05c4d1c215db7a449fcbd86a0704a4c0d5914bba:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/kmod-kvdo * [new ref] 05c4d1c215db7a449fcbd86a0704a4c0d5914bba -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 05c4d1c fix build