$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/xorg-x11-docs.git /var/lib/mock/dist-el8-loongarch64-build-46121-21826/root/chroot_tmpdir/scmroot/xorg-x11-docs Cloning into '/var/lib/mock/dist-el8-loongarch64-build-46121-21826/root/chroot_tmpdir/scmroot/xorg-x11-docs'... $ git reset --hard origin/a8-LoongArch fatal: ambiguous argument 'origin/a8-LoongArch': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'