$ git clone -n https://gitee.com/src-opencloudos-rpms/openstack-swift.git /var/lib/mock/dist-oc9-epol-build-55565-14782/root/chroot_tmpdir/scmroot/openstack-swift Cloning into '/var/lib/mock/dist-oc9-epol-build-55565-14782/root/chroot_tmpdir/scmroot/openstack-swift'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/openstack-swift * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 98bf895 import openstack-swift-2.27.0-2.tl4