$ git clone -n https://gitee.com/Weisson/gcc.git /var/lib/mock/dist-an23.3-riscv64-gcc14-build-468460-74034/root/chroot_tmpdir/scmroot/gcc Cloning into '/var/lib/mock/dist-an23.3-riscv64-gcc14-build-468460-74034/root/chroot_tmpdir/scmroot/gcc'... $ git fetch origin 393ebd6b52c8847270011df777ffb844006e5596:KOJI_FETCH_HEAD From https://gitee.com/Weisson/gcc * [new ref] 393ebd6b52c8847270011df777ffb844006e5596 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 393ebd6 Exclude offload amdgcn for riscv64 explicitly.