$ git clone -n https://src.koozali.org/smecontribs/smeserver-dhcp-dns.git /var/lib/mock/smecontribs11-build-3605-18550/root/chroot_tmpdir/scmroot/smeserver-dhcp-dns Cloning into '/var/lib/mock/smecontribs11-build-3605-18550/root/chroot_tmpdir/scmroot/smeserver-dhcp-dns'... $ git fetch origin 1_2_0-9_el8_sme:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 6f2e7ca3f9b5e6b90b9a875242fe9aabc93d0ca6 to branch 'refs/heads/KOJI_FETCH_HEAD' From https://src.koozali.org/smecontribs/smeserver-dhcp-dns ! [new tag] 1_2_0-9_el8_sme -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard 1_2_0-9_el8_sme HEAD is now at 19dde87 Fix spec file comments $ git clone https://src.koozali.org/smecontribs/common.git common Cloning into 'common'...