$ git clone -n https://gitee.com/ocs-upgrade/python-pathspec.git /var/lib/mock/dist-ocs23-base-build-296776-28839/root/chroot_tmpdir/scmroot/python-pathspec Cloning into '/var/lib/mock/dist-ocs23-base-build-296776-28839/root/chroot_tmpdir/scmroot/python-pathspec'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/python-pathspec * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b66b276 Upgrade to version 0.12.1