$ git clone -n https://gitee.com/mgb01105731/gcc.git /var/lib/mock/dist-an23-build-156186-58313/root/chroot_tmpdir/scmroot/gcc Cloning into '/var/lib/mock/dist-an23-build-156186-58313/root/chroot_tmpdir/scmroot/gcc'... $ git reset --hard origin/a23 HEAD is now at 120c821 optimise spec file