$ git clone -n https://gitee.com/src-opencloudos-rpms/device-mapper-persistent-data /var/lib/mock/dist-oc8-build-31603-9241/root/chroot_tmpdir/scmroot/device-mapper-persistent-data Cloning into '/var/lib/mock/dist-oc8-build-31603-9241/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