$ git clone -n https://gitee.com/quqinqi/nydus-snapshotter.git /var/lib/mock/dist-an8-exp-build-220463-61803/root/chroot_tmpdir/scmroot/nydus-snapshotter Cloning into '/var/lib/mock/dist-an8-exp-build-220463-61803/root/chroot_tmpdir/scmroot/nydus-snapshotter'... $ git reset --hard release/0.5.1 fatal: ambiguous argument 'release/0.5.1': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'