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