$ git clone -n https://gitee.com/src-anolis-os/polkit.git /var/lib/mock/dist-an7-updates-build-72581-37991/root/chroot_tmpdir/scmroot/polkit Cloning into '/var/lib/mock/dist-an7-updates-build-72581-37991/root/chroot_tmpdir/scmroot/polkit'... $ git reset --hard a7 fatal: ambiguous argument 'a7': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'