$ git clone -n https://gitee.com/src-opencloudos-rpms/freexl.git /var/lib/mock/dist-oc9-epol-build-53423-14768/root/chroot_tmpdir/scmroot/freexl Cloning into '/var/lib/mock/dist-oc9-epol-build-53423-14768/root/chroot_tmpdir/scmroot/freexl'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/freexl * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c620d2f import freexl-1.0.6-2.tl4