$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/helpertools/protobuf.git /var/lib/mock/dist-an8-ai-build-39543-19419/root/chroot_tmpdir/scmroot/protobuf Cloning into '/var/lib/mock/dist-an8-ai-build-39543-19419/root/chroot_tmpdir/scmroot/protobuf'... $ git reset --hard tf25-dev fatal: ambiguous argument 'tf25-dev': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'