$ git clone -n https://gitee.com/src-anolis-os/squashfs-tools.git /var/lib/mock/dist-an8.7-build-278209-64361/root/chroot_tmpdir/scmroot/squashfs-tools Cloning into '/var/lib/mock/dist-an8.7-build-278209-64361/root/chroot_tmpdir/scmroot/squashfs-tools'... $ git reset --hard #origin/a8 fatal: ambiguous argument '#origin/a8': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'