$ git clone -n https://gitee.com/ocs-upgrade/cyrus-imapd.git /var/lib/mock/dist-ocs23-build-284663-27555/root/chroot_tmpdir/scmroot/cyrus-imapd Cloning into '/var/lib/mock/dist-ocs23-build-284663-27555/root/chroot_tmpdir/scmroot/cyrus-imapd'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/cyrus-imapd * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e0ea04b Upgrade to version 3.10.0