$ git clone -n https://gitee.com/src-opencloudos-rpms/gcc-toolset-12-gcc.git /var/lib/mock/dist-oc8-build-75162-52105/root/chroot_tmpdir/scmroot/gcc-toolset-12-gcc Cloning into '/var/lib/mock/dist-oc8-build-75162-52105/root/chroot_tmpdir/scmroot/gcc-toolset-12-gcc'... $ git fetch origin bdb098b8241e117a251231b00a014e182d4ac2ef:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/gcc-toolset-12-gcc * [new ref] bdb098b8241e117a251231b00a014e182d4ac2ef -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bdb098b import gcc-toolset-12-gcc-12.2.1-7.6.tl3