Cannot commit multiple files in Mac GitHub Desktop

Since updating my the macOS version of GitHub Desktop to 2.6.6, I can no longer commit multiple files. If I select a single file, the “Commit to master” button is active, but if a select one or more additional file to commit, the button becomes disabled. (See attached screenshots.)

I am running macOS High Sierra 10.13.6 and have verified this behaviour on two different Mac laptops.

@splorp when selecting multiple files you need to enter a commit message in the Summary (required) text box. Git requires a commit message for commits, and with only one file selected GitHub Desktop pre-fills the commit message. I hope that helps!

1 Like

Hoo, boy.

I’ve been using this app since day one and I don’t think I’ve ever noticed that behaviour before. It makes perfect sense, though. I must have been adding a commit message prior to selecting files from the list of changes prior to thinking this was a UI issue.

Thanks for pointing out this obviousness. :rofl:

Ok, just a thought- it seems like the behavior of the commit summary in the desktop is a little atypical. I know from using the command line that I need a comment, so when I saw “Summary (required)”, I typed “Initial commit” into the text box (the larger, lower one). But, the commit button was still disabled. I clicked on the Summary (required) text box and tried backspace and delete. Nothing happens, the text doesn’t change. I figured maybe that was fixed text and started looking for solutions elsewhere. Only later did I actually try typing something in there that I saw you could change the text and then the Commit button was enabled.

I mostly post this as a hint for other users that are stuck like me. Clearly, based on the number of threads I found on the subject, people are having issues with this. Maybe add an “X” button on the right side of the Summary (required) text box? Maybe hover text that says “Text in the upper box required, text in the lower box, optional”. Maybe move the “Summary (required)” text out of the box and make it a label?

Thanks, and I hope this helps somebody.

Thanks for the feedback @CheapSquier, I’ll pass that along to the team!