$ git clone -n https://gitee.com/src-opencloudos-rpms/kmod-kvdo.git /var/lib/mock/dist-oc8-build-39393-13772/root/chroot_tmpdir/scmroot/kmod-kvdo Cloning into '/var/lib/mock/dist-oc8-build-39393-13772/root/chroot_tmpdir/scmroot/kmod-kvdo'... $ git reset --hard origin/oc8 HEAD is now at 96a40cf delete mv