$ git clone -n https://src.koozali.org/smecontribs/dokuwiki-plugins /var/lib/mock/smecontribs11-build-2916-18010/root/chroot_tmpdir/scmroot/dokuwiki-plugins Cloning into '/var/lib/mock/smecontribs11-build-2916-18010/root/chroot_tmpdir/scmroot/dokuwiki-plugins'... $ git fetch origin 20210220-4_el8_sme:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 1bfcfa661a68e41a29c4190b614f0b62a02b8422 to branch 'refs/heads/KOJI_FETCH_HEAD' From https://src.koozali.org/smecontribs/dokuwiki-plugins ! [new tag] 20210220-4_el8_sme -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard 20210220-4_el8_sme HEAD is now at bce7dd0 add contents $ git clone https://src.koozali.org/smecontribs/common common Cloning into 'common'...