$ git clone -n https://gitee.com/src-opencloudos-rpms/opencv /var/lib/mock/dist-oc8-build-27595-8510/root/chroot_tmpdir/scmroot/opencv Cloning into '/var/lib/mock/dist-oc8-build-27595-8510/root/chroot_tmpdir/scmroot/opencv'... $ git reset --hard origin/oc8 HEAD is now at 72aaefa import opencv-3.4.6-8.tl3