$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/xdg-desktop-portal-gtk.git /var/lib/mock/dist-an8-loongarch64-build-44115-21753/root/chroot_tmpdir/scmroot/xdg-desktop-portal-gtk Cloning into '/var/lib/mock/dist-an8-loongarch64-build-44115-21753/root/chroot_tmpdir/scmroot/xdg-desktop-portal-gtk'... $ 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 [...] -- [...]'