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