$ git clone -n https://gitee.com/src-opencloudos-rpms/rapidjson.git /var/lib/mock/dist-oc9-build-71881-47602/root/chroot_tmpdir/scmroot/rapidjson Cloning into '/var/lib/mock/dist-oc9-build-71881-47602/root/chroot_tmpdir/scmroot/rapidjson'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/rapidjson * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 236e806 import rapidjson-1.1.0-5.tl4