How to add icon to my repository?

Mohsen Mirhoseini picture Mohsen Mirhoseini · Oct 14, 2016 · Viewed 17.4k times · Source

I have found that Gitlab and SourceTree support icons for every repositories which make them more specific and easy to find at one glance.

How is this possible?

Answer

Mohsen Mirhoseini picture Mohsen Mirhoseini · Oct 14, 2016

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 :)