$ git clone -n http://git.inferitos.ru/rpms/hiera /var/lib/mock/inferit-9_4-extras-build-55338-123852/root/chroot_tmpdir/scmroot/hiera Cloning into '/var/lib/mock/inferit-9_4-extras-build-55338-123852/root/chroot_tmpdir/scmroot/hiera'... $ git fetch origin changed/i9ce/hiera-3.7.0-2.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 440a052fceea3ef6aeb2378a2366aec15438e043 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/hiera ! [new tag] changed/i9ce/hiera-3.7.0-2.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9ce/hiera-3.7.0-2.el9 HEAD is now at 4b67cd9 import hiera-3.7.0-2.el9