I navigate to a directory i want to make a new git repository in. I run the following code:
git init
touch readme
git add --all
git commit -m "test commit"
and i get the following error:
error: unable to find e80ad49ace82167de62e498622d70377d913c79e
fatal: e80ad49ace82167de62e498622d70377d913c79e is not a valid object
Anyone have any ideas? Everything in the .git folder seems to be correct. It has a HEAD file.