$ git clone -n https://gitee.com/src-anolis-os/pstoedit.git /var/lib/mock/dist-el8-loongarch64-build-59408-32056/root/chroot_tmpdir/scmroot/pstoedit Cloning into '/var/lib/mock/dist-el8-loongarch64-build-59408-32056/root/chroot_tmpdir/scmroot/pstoedit'... $ git reset --hard origin/a8-LoongArchorigin-dev fatal: ambiguous argument 'origin/a8-LoongArchorigin-dev': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'