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