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