Changing repository description in git

Chesnokov Yuriy picture Chesnokov Yuriy · Mar 14, 2013 · Viewed 24.1k times · Source

I'd like to change repository description of the project I'm working on but "Edit" button does not appear in GitHub web site.

I use GitHub for Windows and provided shell.

Although description is present on web site .git\description file has default contents and \description file is absent in root folder. Where is the description of the project is stored then if it is present on GitHub?

I changed .git\description but the changes are not visible to the git status.

How to change the project description without creating \description file in the root folder or creating links to its .git\description version?

Answer

manojlds picture manojlds · Mar 14, 2013

The .git\description file is only used in the Git-Web program. Github doesn't even bother about it, and the description that you enter in your local git repo remains local to you and will never be transmitted to the remote repo.

To change project description on Github, look here: How do you change a repository description on GitHub?