$ git clone -n https://gitee.com/src-opencloudos-rpms/gnocchi.git /var/lib/mock/dist-oc9-epol-build-55356-14780/root/chroot_tmpdir/scmroot/gnocchi Cloning into '/var/lib/mock/dist-oc9-epol-build-55356-14780/root/chroot_tmpdir/scmroot/gnocchi'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/gnocchi * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 56c4c9c import gnocchi-4.3.5-4.tl4