$ git clone -n https://gitee.com/ocs-bot/librdkafka.git /var/lib/mock/dist-ocs23-build-112610-7360/root/chroot_tmpdir/scmroot/librdkafka Cloning into '/var/lib/mock/dist-ocs23-build-112610-7360/root/chroot_tmpdir/scmroot/librdkafka'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/ocs-bot/librdkafka * [new ref] -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fe0e388 Upgrade to version 2.3.0