$ git clone -n https://gitee.com/opencloudos-stream/gcc.git /var/lib/mock/dist-ocs23-build-133446-9516/root/chroot_tmpdir/scmroot/gcc
Cloning into '/var/lib/mock/dist-ocs23-build-133446-9516/root/chroot_tmpdir/scmroot/gcc'...
$ git fetch origin master:KOJI_FETCH_HEAD
From https://gitee.com/opencloudos-stream/gcc
 * [new branch]      master     -> KOJI_FETCH_HEAD
$ git reset --hard KOJI_FETCH_HEAD
HEAD is now at 1e7b4ba !7 升级至12.3.1.1,全部改进仅针对龙芯loongarch架构 Merge pull request !7 from jeremiazhao/master