$ git clone -n https://gitee.com/cucdtl/bcc.git /var/lib/mock/dist-an8.10-bcc-build-562049-91354/root/chroot_tmpdir/scmroot/bcc Cloning into '/var/lib/mock/dist-an8.10-bcc-build-562049-91354/root/chroot_tmpdir/scmroot/bcc'... $ git reset --hard fix/remove-test-free-bcc-memory fatal: ambiguous argument 'fix/remove-test-free-bcc-memory': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'