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