$ git clone -n https://gitee.com/forrest_ly/opencv.git /var/lib/mock/dist-an23-build-277716-64428/root/chroot_tmpdir/scmroot/opencv Cloning into '/var/lib/mock/dist-an23-build-277716-64428/root/chroot_tmpdir/scmroot/opencv'... $ git fetch origin 4b7b7f4959f0c4e9ee6e032baa8dd54d44e9e538:KOJI_FETCH_HEAD From https://gitee.com/forrest_ly/opencv * [new ref] 4b7b7f4959f0c4e9ee6e032baa8dd54d44e9e538 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4b7b7f4 init for anolis 23