$ git clone -n https://gitee.com/src-opencloudos-rpms/python-smmap.git /var/lib/mock/dist-oc9-epol-build-54202-14768/root/chroot_tmpdir/scmroot/python-smmap Cloning into '/var/lib/mock/dist-oc9-epol-build-54202-14768/root/chroot_tmpdir/scmroot/python-smmap'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-smmap * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b4785aa import python-smmap-5.0.0-2.tl4