Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add icon to my repository?

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?

like image 981
Mohsen Mirhoseini Avatar asked Oct 14 '16 18:10

Mohsen Mirhoseini


People also ask

How do I add an icon to a GitHub repository?

Go to your project then in left side click on 'Setting' Click on 'General' then in 'General project' section hit Expand. Then in project avatar section hit Choose file... your avatar icon file and upload it.

How do I add an image to a GitLab project?

In your computer files, find the GitLab project to which you'd like to add the image (you'll find it as a regular file). Click on every file until you find exactly where you'd like to add the image. There, paste the image. You should see the name of the image in the list shown.


1 Answers

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

like image 110
Mohsen Mirhoseini Avatar answered Sep 24 '22 21:09

Mohsen Mirhoseini