$ git clone -n https://gitee.com/src-opencloudos-rpms/opa-fm /var/lib/mock/dist-oc8-build-58051-15875/root/chroot_tmpdir/scmroot/opa-fm Cloning into '/var/lib/mock/dist-oc8-build-58051-15875/root/chroot_tmpdir/scmroot/opa-fm'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/opa-fm * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d99d5b9 import opa-fm-10.12.1.0.6-1.tl3