$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/gcc-toolset-10-elfutils.git /var/lib/mock/dist-an8.4-build-40422-20372/root/chroot_tmpdir/scmroot/gcc-toolset-10-elfutils Cloning into '/var/lib/mock/dist-an8.4-build-40422-20372/root/chroot_tmpdir/scmroot/gcc-toolset-10-elfutils'... $ git reset --hard origin/a8 HEAD is now at 8ca0018 update to gcc-toolset-10-elfutils-0.182-6.el8_4