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