$ git clone -n https://gitee.com/src-opencloudos-rpms/protobuf-c.git /var/lib/mock/dist-oc9-la64-build-133924-78838/root/chroot_tmpdir/scmroot/protobuf-c Cloning into '/var/lib/mock/dist-oc9-la64-build-133924-78838/root/chroot_tmpdir/scmroot/protobuf-c'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/protobuf-c * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4b7ac81 import protobuf-c-1.4.1-11.tl4