$ git clone -n http://git.inferitos.ru/rpms/perl-Moo /var/lib/mock/inferit-8_10-bootstrap-build-52097-99550/root/chroot_tmpdir/scmroot/perl-Moo Cloning into '/var/lib/mock/inferit-8_10-bootstrap-build-52097-99550/root/chroot_tmpdir/scmroot/perl-Moo'... $ git fetch origin changed/i8c/perl-Moo-2.003004-2.el8:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 12c5affc00c2fa203b0c5c11d03713df17fac666 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/perl-Moo ! [new tag] changed/i8c/perl-Moo-2.003004-2.el8 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i8c/perl-Moo-2.003004-2.el8 HEAD is now at 442aec0 import perl-Moo-2.003004-2.el8