$ git clone -n https://gitee.com/ticat-fp/anolis_gcc.git /var/lib/mock/dist-an23.1-devel-build-364851-71287/root/chroot_tmpdir/scmroot/anolis_gcc Cloning into '/var/lib/mock/dist-an23.1-devel-build-364851-71287/root/chroot_tmpdir/scmroot/anolis_gcc'... $ git fetch origin 3fb8130e5c8d81b419e3a6f4fe2d193c82c1a447:KOJI_FETCH_HEAD From https://gitee.com/ticat-fp/anolis_gcc * [new ref] 3fb8130e5c8d81b419e3a6f4fe2d193c82c1a447 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3fb8130 LoongArch: sync from gcc upstream