-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Commit button disabled for unclear reasons #4354
Comments
Yeah, that was just a suggestion. I think any kind of indication that there are required fields missing and what they are would be an improvement here 😸 |
I would like to work on it, unless anyone else is already working on it?! |
@magicmarvman let's hold off for a bit to think about what we want to do to address the issue. Once we've figured that out, we'll label issues that can be worked on by external contributors with |
Ok. Thank you! |
I'm currently teaching an introductory web class at an art school and we use Github Pages as a webhost for student work (hi @skalnik). Admittedly, this may not be indicative of the large portion of github desktop users, but I've repeatedly over the course had students approach/email me after having spent time clicking on the commit button, over and over, to tell me that their github was broken or didn't like their code, or the other sorts of things people tell you when their mental model is still incomplete and they're trying to reason about whats not working. I get not wanting to have the summary field be too loud in the normative case, but I think there may be room for a slightly more aggressive intervention in the case you are clicking on commit and don't have a summary written. My gut is the (required) may be too subtle in the context of a screen full of staged changes, at least for users who are similar to my students. Anyway, my 2¢ |
OMG, this totally needs fixing. As a relatively new user to GIT, I just spent the last two hours trying to setup a fresh repository and be able to commit my work. This process involved remaking everything from scratch at least a dozen times before I finally stumbled upon this. Even if this was mentioned somewhere in the quickstart guide, or other manuals for the GitHub extension. Vern |
hi @verny2verny can you share what version of desktop you're hitting this on? i'm sorry this was so frustrating. i would expect #4429 to help prevent at least some of this pain and it would be really helpful to know more about your experience. |
I am currently using version 1.4.0, GitHub for Unity, downloaded via the asset store. Unity version 2019.1.12f1 on a Windows10pr PC With this version, at least, there is no indicator saying that a summary is needed in order to make a commit. My experience was following the GitHub QuickGuide (pdf) that comes with the package. Nowhere in this guide, nor in the plugin is it mentioned that a summary is required in order to commit. Without anything entered in the summary field, the commit button remains grayed out (with no indication as to why). From the looks of 4429, this may already be addressed in latest version? Or at least, it does look like it is being looked into. Vern |
ah thanks @verny2verny for the extra info! GitHub for Unity is a different project than GitHub Desktop. You can find the proper repo here: https://github.com/github-for-unity/Unity. thanks! |
closing this issue since we haven't had any further reports of this problem since #4429. thanks all! |
Ugh, I'm not new to git and just tried GitHub for Desktop today and it took me almost an hour to figure out what I'm missing. Turns out the commit message I'm filling was the description field and the actual commit message was above it. I think the button shouldn't be disabled. Instead prompt a useful error message that would lead the user to correct their mistakes. |
commit to master button disable.Any one help? |
@KhanA-Ahad have you entered a commit message in the |
For what it is worth I did the exact same thing as @mr5z. I treated the "Summary (Required)" as the title bar for the Description box and after typing into the description box and fumbling around for a couple of minutes flabbergasted as to the issue did I figure it out upon searching the internet and finding this issue. Not my first time using GitHub for Desktop, but definitely not often enough that I was like "oh right" |
It is easy ,I don't know why but if you delete a GitHub(repository , localpath space) folder and try again,it works. |
I had the same issue as @mr5z. My laptop screen on my desk turned out to be angled just right to make the actual summary box blend in to the background behind it so that the description box looked like it was where I was meant to put the required summary. It would be really nice if maybe the box was highlighted in red or something if you tried to click commit without it filled in. |
@sonammeena It would appear that your git config email is not able to detect it as an email address. Do you have an email address you can update your git config with? (If you have a github.com account, preferably use the email associated with it) If you are not familiar with the command line as shown in the error, Then, navigate to Git menu item (left hand menu pane) Then fill in the Name and Email fields and hit Save. |
The issue was open in 2018, we are in 2021 and the problem persist, not only in the Desktop but also in the web interface, the button "commit changes" is disabled in all my repositories, I do not know if deserve the time to dig into this thing, feels like time wasted. |
A workaround I found was to make the commit manually, outside of Atom, such as with |
Don't do batch commit by selecting all files. If you select more than one file, the commit button is grayed out. This caught me in surprise and it's kind of stupid. Just select one file at a time and commit button will be enabled. |
I also got hung up on this. I didn't even see the summary field until I found this page. |
I get commit field unhighlighted when making a change using the website interface. I make a change, but cannot click commit button. |
@thisisawesome1994 see this guide for information about how to edit/commit files directly on GitHub. This issue tracker is for GitHub Desktop. |
As someone who is relatively new to Git and GitHub Desktop, I too hit this summary-field stumbling block. Looking back, a little bit of reading would have revealed the issue (the required is fairly obvious) but the fact of the matter is that it took me the better part of an hour to figure out. While most people wouldn't be caught up by this, I think a relatively simple and very helpful tool would be the following: if someone clicks on the commit button without any summary entered, the Summary box becomes selected, clearly outlined by blue and with typing enabled (much like many login pages do when a username/password isn't entered). This could help mitigate this frustrating barrier to entry. |
@vkenn it looks like you're committing on github.com, not in GitHub Desktop. I'd recommend reaching out to GitHub Support if you are having issues committing on github.com. I believe there have been browser issues with committing in the past, so it may be worth trying a different browser to see if that helps. |
Thank you @jaszczykj it solved it .Have been banging my head for a whole weekend . |
disable Ghostery chorme extension may solve |
@xbdh do you know why ghostery causes this issue? |
Thank you @jaszczykj! Disabled adblock and ghostery and now it's working. |
Description
When using GitHub Desktop, the commit button is disabled until a commit summary is typed in. However, for users who are new to Git & GitHub, its not entirely clear why the button is disabled.
Version
Steps to Reproduce
Expected Behavior
The Commit Summary field is highlighted in red or indicated as required in some manner
Actual Behavior
No indication is given.
The text was updated successfully, but these errors were encountered: