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