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