$ git clone -n https://gitee.com/src-anolis-os/protobuf-c.git /var/lib/mock/dist-an23.5-AImanager-build-532699-81002/root/chroot_tmpdir/scmroot/protobuf-c Cloning into '/var/lib/mock/dist-an23.5-AImanager-build-532699-81002/root/chroot_tmpdir/scmroot/protobuf-c'... $ git fetch origin b1f6fcf308d3720e6488ddfae4ef39700647c243:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/protobuf-c * [new ref] b1f6fcf308d3720e6488ddfae4ef39700647c243 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b1f6fcf Add patches to build with protobuf 25.1