$ git clone -n https://gitee.com/ocs-bot/zlib.git /var/lib/mock/dist-ocs23-build-172214-10545/root/chroot_tmpdir/scmroot/zlib Cloning into '/var/lib/mock/dist-ocs23-build-172214-10545/root/chroot_tmpdir/scmroot/zlib'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/ocs-bot/zlib * [new ref] HEAD -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at de26de8 Upgrade to version 1.3.1