$ git clone -n https://gitee.com/mgb01105731/gcc.git /var/lib/mock/dist-an23-build-156172-58313/root/chroot_tmpdir/scmroot/gcc Cloning into '/var/lib/mock/dist-an23-build-156172-58313/root/chroot_tmpdir/scmroot/gcc'... $ git reset --hard origin/a23 HEAD is now at 6df12e4 update to latest release 12.1.0