$ git clone -n https://gitee.com/src-opencloudos-rpms/corosync.git /var/lib/mock/dist-oc8-build-74959-51834/root/chroot_tmpdir/scmroot/corosync Cloning into '/var/lib/mock/dist-oc8-build-74959-51834/root/chroot_tmpdir/scmroot/corosync'... $ git fetch origin d40ff6cdd741b4fb6b07e009195789316d505e6a:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/corosync * [new ref] d40ff6cdd741b4fb6b07e009195789316d505e6a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d40ff6c import corosync-3.1.8-1.tl3