$ git clone -n https://gitee.com/yan1hcdc/texlive-base.git /var/lib/mock/dist-an23-build-479485-74220/root/chroot_tmpdir/scmroot/texlive-base Cloning into '/var/lib/mock/dist-an23-build-479485-74220/root/chroot_tmpdir/scmroot/texlive-base'... $ git fetch origin 97a1a2fbd974ced313e9f3c67090ff24e2760427:KOJI_FETCH_HEAD From https://gitee.com/yan1hcdc/texlive-base * [new ref] 97a1a2fbd974ced313e9f3c67090ff24e2760427 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 97a1a2f turning gcc errors back into warnings