$ git clone -n https://gitee.com/src-opencloudos-rpms/xkbcomp.git /var/lib/mock/dist-oc9-build-72311-47677/root/chroot_tmpdir/scmroot/xkbcomp Cloning into '/var/lib/mock/dist-oc9-build-72311-47677/root/chroot_tmpdir/scmroot/xkbcomp'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/xkbcomp * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e4b6860 import xkbcomp-1.4.6-2.tl4