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