$ git clone -n https://gitee.com/yan1hcdc/system-rpm-config.git /mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-493850-74574/root/chroot_tmpdir/scmroot/system-rpm-config Cloning into '/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-493850-74574/root/chroot_tmpdir/scmroot/system-rpm-config'... $ git fetch origin e009d8f07f7f5e3a24a9e8f55b6a0860b1cf94d4:KOJI_FETCH_HEAD From https://gitee.com/yan1hcdc/system-rpm-config * [new ref] e009d8f07f7f5e3a24a9e8f55b6a0860b1cf94d4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e009d8f revert turning gcc errors return-mismatch and declaration-missing-parameter-type back into warnings