$ git clone -n https://gitee.com/wenlylinux/wget.git /var/lib/mock/dist-an8.6-build-81873-41318/root/chroot_tmpdir/scmroot/wget Cloning into '/var/lib/mock/dist-an8.6-build-81873-41318/root/chroot_tmpdir/scmroot/wget'... $ git reset --hard a8 fatal: ambiguous argument 'a8': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'