$ git clone -n https://gitee.com/src-opencloudos-rpms/corosync-qdevice.git /var/lib/mock/dist-oc8-build-36918-12041/root/chroot_tmpdir/scmroot/corosync-qdevice Cloning into '/var/lib/mock/dist-oc8-build-36918-12041/root/chroot_tmpdir/scmroot/corosync-qdevice'... $ git reset --hard origin/oc8 HEAD is now at 8497bf1 import corosync-qdevice-3.0.1-1.oc8.1