$ git clone -n https://src.koozali.org/smecontribs/smeserver-cacti /var/lib/mock/dist-sme11-build-1486-16455/root/chroot_tmpdir/scmroot/smeserver-cacti Cloning into '/var/lib/mock/dist-sme11-build-1486-16455/root/chroot_tmpdir/scmroot/smeserver-cacti'... $ git fetch origin 1_1_19-6_el8_sme:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 7f4ad49dbc7832d8a79ab57ff690e439694dff1e to branch 'refs/heads/KOJI_FETCH_HEAD' From https://src.koozali.org/smecontribs/smeserver-cacti ! [new tag] 1_1_19-6_el8_sme -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard 1_1_19-6_el8_sme HEAD is now at fb9f1c4 Add -f to rm in spec so that it builds $ git clone https://src.koozali.org/smecontribs/common common Cloning into 'common'...