Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github windows: Commit failed: Failed to create a new commit

Tags:

github

I have: http://windows.github.com/

My current project has around 20k files, around 150MB (and not speaking about how slow it is and I cannot do a thing now) it doesn't even let me commit! I get this error: Commit failed: Failed to create a new commit.

That seems that nobody is having.

I've already deleted the folder and cloned again, no escape. What to do?

If I choose to open shell, all this *** crashes!


Edit:

Since the problem I've switched to Git Extensions and I didn't look back!

thanks for your answers

like image 927
Totty.js Avatar asked Jun 27 '12 15:06

Totty.js


1 Answers

This happened to me. Try opening up PowerShell and manually committing each file using the "git add [file name]" command. To see which files have been added, enter "git status" into the command line. The green files have been added, the red ones have not been added.

Once you've added them all, type "git commit." Then go back to Github for Windows and sync it up.

I'm not sure what causes this issue, but once I followed the above steps, Github went back to its normal, awesome behavior.

like image 77
mpoulshock Avatar answered Sep 25 '22 14:09

mpoulshock