$ git clone -n https://gitee.com/src-opencloudos-rpms/device-mapper-persistent-data /var/lib/mock/dist-oc8-build-31831-9257/root/chroot_tmpdir/scmroot/device-mapper-persistent-data Cloning into '/var/lib/mock/dist-oc8-build-31831-9257/root/chroot_tmpdir/scmroot/device-mapper-persistent-data'... $ git reset --hard origin/oc8 HEAD is now at 4dc38d0 import device-mapper-persistent-data-0.9.0-7.oc8