$ git clone -n https://src.koozali.org/smecontribs/smeserver-freepbx.git /var/lib/mock/smecontribs11-build-3613-18791/root/chroot_tmpdir/scmroot/smeserver-freepbx Cloning into '/var/lib/mock/smecontribs11-build-3613-18791/root/chroot_tmpdir/scmroot/smeserver-freepbx'... $ git fetch origin 16-9_el8_sme:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 43dbc782bb4f2fefc0f8e743e78ee49260d9f691 to branch 'refs/heads/KOJI_FETCH_HEAD' From https://src.koozali.org/smecontribs/smeserver-freepbx ! [new tag] 16-9_el8_sme -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard 16-9_el8_sme HEAD is now at 3d61ebf revert some cleanups and fix the session dir $ git clone https://src.koozali.org/smecontribs/common.git common Cloning into 'common'...