$ git clone -n http://git.inferitos.ru/rpms/re2c /var/lib/mock/inferit-9_5-extras-build-67459-146843/root/chroot_tmpdir/scmroot/re2c Cloning into '/var/lib/mock/inferit-9_5-extras-build-67459-146843/root/chroot_tmpdir/scmroot/re2c'... $ git fetch origin changed/i9ce/re2c-2.2-1.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object ce940ef470aaf818db9f050a783b05f5580d1e2f to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/re2c ! [new tag] changed/i9ce/re2c-2.2-1.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9ce/re2c-2.2-1.el9 HEAD is now at 5600e26 import re2c-2.2-1.el9