$ git clone -n http://git.inferitos.ru/rpms/xmlsec1 /var/lib/mock/inferit-9_4-libreoffice-build-45594-87332/root/chroot_tmpdir/scmroot/xmlsec1 Cloning into '/var/lib/mock/inferit-9_4-libreoffice-build-45594-87332/root/chroot_tmpdir/scmroot/xmlsec1'... $ git fetch origin changed/i9-libreoffice/xmlsec1-1.2.36-1.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 167b4703d503cf9d279b7fdeea03c2d0ad40abda to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/xmlsec1 ! [new tag] changed/i9-libreoffice/xmlsec1-1.2.36-1.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9-libreoffice/xmlsec1-1.2.36-1.el9 HEAD is now at 9dbc8b9 import xmlsec1-1.2.36-1.el9