$ git clone -n https://gitee.com/src-anolis-os/gcc.git /mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-476804-74205/root/chroot_tmpdir/scmroot/gcc Cloning into '/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-476804-74205/root/chroot_tmpdir/scmroot/gcc'... $ git fetch origin rva23-14.3.0:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/gcc * [new branch] rva23-14.3.0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD Updating files: 100% (93/93) Updating files: 100% (93/93), done. HEAD is now at 8bf67a4 add the definition for build_offload_amdgcn