$ git clone -n https://gitee.com/ocs-upgrade/jacoco.git /var/lib/mock/dist-ocs23-build-284337-27513/root/chroot_tmpdir/scmroot/jacoco Cloning into '/var/lib/mock/dist-ocs23-build-284337-27513/root/chroot_tmpdir/scmroot/jacoco'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/jacoco * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8f5e168 Upgrade to version 0.8.12