$ git clone -n https://gitee.com/src-opencloudos-rpms/cdi-api.git /var/lib/mock/dist-oc9-build-69578-47310/root/chroot_tmpdir/scmroot/cdi-api Cloning into '/var/lib/mock/dist-oc9-build-69578-47310/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 dd0cfdb import cdi-api-2.0.2-7.tl4