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