$ git clone -n https://gitee.com/src-opencloudos-rpms/protobuf-c.git /var/lib/mock/dist-oc9-build-64210-16463/root/chroot_tmpdir/scmroot/protobuf-c Cloning into '/var/lib/mock/dist-oc9-build-64210-16463/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 7562ff6 import protobuf-c-1.4.1-8.tl4