Cannot edit repository description when no code has been provided #43623
Replies: 5 comments 5 replies
-
|
Hey there! 👋 Thanks for posting in the GitHub Community, @marckruzik! We're happy you're here. You are more likely to get a useful response if you are posting your question in the applicable category. The Accessibility category is a place for our community to discuss and provide feedback on the digital accessibility of GitHub products. Digital accessibility means that GitHub tools, and technologies, are designed and developed so that people with disabilities can use them. I've gone ahead and moved this to the correct category for you so that your feedback can get visibility. Good luck! |
Beta Was this translation helpful? Give feedback.
-
|
Hello, this bug is still here, and it's still confusing people. Today, when promoting GitHub (and Aspire) and showing a new user how to use GitHub, we created an empty repo, then tried to add a description. Which does not work, due to the bug discussed here. |
Beta Was this translation helpful? Give feedback.
-
|
One workaround, which I just tested and confirmed to work, is to use GitHub CLI: gh repo edit --description="Bacon ipsum"(Found this via Stack Overflow.) |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
|
This is really annoying when creating several template repositories for a classroom. I do not have the assignments or code ready to upload, but I do need to link them to my course management software, and the links are different for the ones with/without code because I cannot add a description. I cannot add a topic to organize my course from another's in our organization, either. It's been over two years and there still hasn't been a fix. My only 'fix' is to add a 'readme' file every time and leave it blank, but this would be really inconvenient if I wasn't uploading the files directly. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As far as I know, the only way to edit a repository description on GitHub website is to use the "about" button next to the repository description.
Here is how the "about" button normally appears:

But when no code has been provided, the repository main page does not display the about section:

Therefore, because of this special "no code has been provided" page, we cannot access the about section, and so we have no way to edit the repository description.
I think that in this case, the about section should be displayed, and we should be able to edit the repository description.
How to reproduce:
Create an empty repository using GitHub website.
Beta Was this translation helpful? Give feedback.
All reactions