$ git clone -n https://gitee.com/src-opencloudos-rpms/cdi-api.git /var/lib/mock/dist-oc9-build-40788-14591/root/chroot_tmpdir/scmroot/cdi-api Cloning into '/var/lib/mock/dist-oc9-build-40788-14591/root/chroot_tmpdir/scmroot/cdi-api'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/cdi-api * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ad55ca1 import cdi-api-2.0.2-6.tl4