$ git clone -n https://gitee.com/src-opencloudos-rpms/oniguruma.git /var/lib/mock/dist-oc8-build-74971-51865/root/chroot_tmpdir/scmroot/oniguruma Cloning into '/var/lib/mock/dist-oc8-build-74971-51865/root/chroot_tmpdir/scmroot/oniguruma'... $ git fetch origin a98d5ce0001f2a005fdd4a3c4390fae5d733d2df:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/oniguruma * [new ref] a98d5ce0001f2a005fdd4a3c4390fae5d733d2df -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a98d5ce import oniguruma-6.8.2-3.tl3