Editing Git Repository Descriptions

It was annoying me that when viewing my repositories online the descriptions for them all were the generic ‘Unnamed repository; edit this file ‘description’ to name the repository.’

It doesn’t really tell you in any tutorial what you need to do when setting up a repository to get a description (or at least any I have followed) but the fix is very simple.

In the your git repository you should see a text file named description.

Edit it with your text editor of choice and whatever you have as the contents will be your repository description.

vi gitRepository.git/description

Done!

Share this on