$ git clone -n https://gitee.com/ocs-upgrade/librabbitmq.git /var/lib/mock/dist-ocs23-build-212377-15360/root/chroot_tmpdir/scmroot/librabbitmq Cloning into '/var/lib/mock/dist-ocs23-build-212377-15360/root/chroot_tmpdir/scmroot/librabbitmq'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/librabbitmq * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 04255ce Upgrade to version 0.14.0