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