$ git clone -n https://src.koozali.org/smeserver/spamassassin /var/lib/mock/dist-sme11-build-2115-17363/root/chroot_tmpdir/scmroot/spamassassin Cloning into '/var/lib/mock/dist-sme11-build-2115-17363/root/chroot_tmpdir/scmroot/spamassassin'... $ git fetch origin 4_0_1-1_el8_sme:KOJI_FETCH_HEAD fatal: couldn't find remote ref 4_0_1-1_el8_sme $ git reset --hard 4_0_1-1_el8_sme fatal: ambiguous argument '4_0_1-1_el8_sme': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'