$ git clone -n https://gitee.com/src-anolis-os/librdkafka.git /var/lib/mock/dist-an23.3-build-421392-72884/root/chroot_tmpdir/scmroot/librdkafka Cloning into '/var/lib/mock/dist-an23.3-build-421392-72884/root/chroot_tmpdir/scmroot/librdkafka'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/librdkafka * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fb0300e Update to 2.1.1 from 2.0.2