$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/jing-trang.git /var/lib/mock/dist-an8-build-25965-14694/root/chroot_tmpdir/scmroot/jing-trang Cloning into '/var/lib/mock/dist-an8-build-25965-14694/root/chroot_tmpdir/scmroot/jing-trang'... $ git reset --hard origin/a8.2 fatal: ambiguous argument 'origin/a8.2': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'