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