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