$ git clone -n https://gitee.com/src-opencloudos-rpms/kmod-kvdo.git /var/lib/mock/dist-oc8-build-19316-4057/root/chroot_tmpdir/scmroot/kmod-kvdo Cloning into '/var/lib/mock/dist-oc8-build-19316-4057/root/chroot_tmpdir/scmroot/kmod-kvdo'... $ git reset --hard d3b8c1cd971cf3fb58e9aa1f97f1c9410aead848 HEAD is now at d3b8c1c fix build