$ git clone -n https://gitee.com/zhonglingh/lifsea-helm.git /var/lib/mock/dist-lifsea8-build-91809-45226/root/chroot_tmpdir/scmroot/lifsea-helm Cloning into '/var/lib/mock/dist-lifsea8-build-91809-45226/root/chroot_tmpdir/scmroot/lifsea-helm'... $ git reset --hard origin/lifsea fatal: ambiguous argument 'origin/lifsea': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'