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