$ git clone -n https://gitee.com/ocs-upgrade/osgi-annotation.git /var/lib/mock/dist-ocs23-build-284497-27530/root/chroot_tmpdir/scmroot/osgi-annotation Cloning into '/var/lib/mock/dist-ocs23-build-284497-27530/root/chroot_tmpdir/scmroot/osgi-annotation'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/osgi-annotation * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f7d5795 Upgrade to version 8.1.0