$ git clone -n https://gitee.com/src-opencloudos-rpms/python-idna.git /var/lib/mock/dist-oc8-build-247097-83525/root/chroot_tmpdir/scmroot/python-idna Cloning into '/var/lib/mock/dist-oc8-build-247097-83525/root/chroot_tmpdir/scmroot/python-idna'... $ git fetch origin 7def42bba86d78ad8b75253299d8157b40bfaf39:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-idna * [new ref] 7def42bba86d78ad8b75253299d8157b40bfaf39 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7def42b import python-idna-2.5-8.tl3