$ git clone -n https://gitee.com/src-opencloudos-rpms/corosync.git /var/lib/mock/dist-oc8-build-38341-12399/root/chroot_tmpdir/scmroot/corosync Cloning into '/var/lib/mock/dist-oc8-build-38341-12399/root/chroot_tmpdir/scmroot/corosync'... $ git reset --hard origin/oc8 HEAD is now at 86f984a import corosync-3.1.7-1.tl3