Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Commit to Master greyed out

I use Github for Windows and I have about ten repositories I regularly commit to from my local computer using the client. I'm used to everything working great. However, today, for one of my local repositories, I moved the .git file and folder to a new directory in order to relocate my local files (which I've done successfully many times before), and then reopened Github to "locate" the new directory. Ever since I did this today, ALL of my repositories have their "Commit to Master" button greyed out in the Github client, and I can't commit anything anymore.

I even went so far as to completely uninstall Github, deleting the appdata and localappdata, and then reinstalled the client. This deleted all my repositories out of the client. When I then added one of my repositories back to the client, the "Commit to Master" button is still greyed out and can't be selected.

Anyone have any idea what the heck I did, or how I can fix this?

like image 286
jramm Avatar asked Sep 13 '14 18:09

jramm


1 Answers

There's currently three conditions that need to be true for that button to be enabled.

  1. The client isn't currently running a git operation on the selected repository
  2. You've entered a title in the commit box
  3. You've selected at least one file.

Assuming that you've satisfied the last two items the logical conclusion is that the client is currently running some type of long running operation or has initiated an operation that for some reason has run amok.

In order to get to the bottom of this I'd have to take a look at your log file. If you reach out to us through [email protected] and include a log file we can then update this question when we've had a look at that.

like image 75
Markus Olsson Avatar answered Oct 21 '22 04:10

Markus Olsson