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