$ git clone -n https://gitee.com/src-opencloudos-rpms/jflex.git /var/lib/mock/dist-oc9-build-50285-14595/root/chroot_tmpdir/scmroot/jflex Cloning into '/var/lib/mock/dist-oc9-build-50285-14595/root/chroot_tmpdir/scmroot/jflex'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/jflex * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5483b1c import jflex-1.7.0-3.tl4