How to add icon to my repository?

We as a developer sometimes need a change to make our tools look different.

You can add a small(I prefer 96px x 96px) logo.png image file to the root of your repository.

repository screenshot

Which makes your project more specific and easy to find with gitlab or SourceTree git client. Unfortunately github does not support this feature.

gitlab screenshot

It is very simple but it works!

sourcetree screenshot

Update: Thanks to your comments I have found another way within Gitlab repository settings:

gitlab settings screenshot

hope you enjoy this trick and make your tools more fun :)


If you want to put an icon on your project in Gitlab, do the following instructions:

  1. Go to your project then in left side click on 'Setting'
  2. Click on 'General' then in 'General project' section hit Expand
  3. Then in project avatar section hit Choose file... your avatar icon file and upload it.
  4. Finally hit Save changes

[NOTE]:

  • Note that you should have the Maintainer permission on this project.
  • Maximum size is 200KB