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