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