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