Adam Bien's Weblog

Friday Mar 23, 2012

If You Get IOException: Unknown repository format "null"; expected "0" In NetBeans + Git

If NetBeans (7+) is not able to find the following entry in .git/config:


[core]
	repositoryformatversion = 0

it throws an IOException with the message: "Unknown repository format "null"; expected "0".

To solve the problem open .git/config and add the entry above or execute: git config --add core.repositoryformatversion 0 from command line.


NEW: Java EE 7 Testing and Quality Workshop

A book about rethinking Java EE Patterns

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
realworldpatterns.com
...the last 150 posts
...the last 10 comments
Links
License