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