$ git clone -n http://git.inferitos.ru/rpms/automoc4 /var/lib/mock/inferit-10_0-extras-build-91138-167687/root/chroot_tmpdir/scmroot/automoc4 Cloning into '/var/lib/mock/inferit-10_0-extras-build-91138-167687/root/chroot_tmpdir/scmroot/automoc4'... $ git fetch origin changed/i10ce/automoc4-0.9.88-12.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 37253a6032efda0087c44f725c4b91e4672401e6 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/automoc4 ! [new tag] changed/i10ce/automoc4-0.9.88-12.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/automoc4-0.9.88-12.el10 HEAD is now at d9ccce9 import automoc4-0.9.88-12.el10