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