$ git clone -n https://gitee.com/src-opencloudos-rpms/mdadm.git /var/lib/mock/dist-oc8-build-38434-12462/root/chroot_tmpdir/scmroot/mdadm Cloning into '/var/lib/mock/dist-oc8-build-38434-12462/root/chroot_tmpdir/scmroot/mdadm'... $ git reset --hard origin/oc8 HEAD is now at 042dc1c import mdadm-4.2-7.tl3