Editing Git Repository Descriptions

How you can go about changing the description of your git repos

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!


Recent posts View all

Ruby

How to ignore Bullet in RSpec tests

Using Bullet during a test can pick up mistakes but also has false negatives; here is an easy way to ignore them

Ruby

How we used Nokogiri to fix a sizing issue in YouTube's oEmbed

At some point, one of our calls to YouTube's oEmbed endpoint was returning videos way too small; we fixed in in our Rails application by using Nokogiri