$ git clone -n https://gitee.com/src-opencloudos-rpms/python-distro.git /var/lib/mock/dist-oc9-build-49271-14595/root/chroot_tmpdir/scmroot/python-distro Cloning into '/var/lib/mock/dist-oc9-build-49271-14595/root/chroot_tmpdir/scmroot/python-distro'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-distro * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 11b543e import python-distro-1.8.0-3.tl4