$ git clone -n https://gitee.com/src-opencloudos-rpms/openstack-glance.git /var/lib/mock/dist-oc9-epol-build-56626-14857/root/chroot_tmpdir/scmroot/openstack-glance Cloning into '/var/lib/mock/dist-oc9-epol-build-56626-14857/root/chroot_tmpdir/scmroot/openstack-glance'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/openstack-glance * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6f21703 import openstack-glance-22.1.0-3.tl4