$ git clone -n http://fedora.riscv.rocks:3000/rpms/antlr3.git /var/lib/mock/f38-build-686231-81167/root/chroot_tmpdir/scmroot/antlr3 Cloning into '/var/lib/mock/f38-build-686231-81167/root/chroot_tmpdir/scmroot/antlr3'... $ git reset --hard 7513dc4580d96b0d0fa07f92fc5a4e093fcd0615 fatal: ambiguous argument '7513dc4580d96b0d0fa07f92fc5a4e093fcd0615 ': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'