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