How to add icon to my repository?
Solution 1
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.
Which makes your project more specific and easy to find with gitlab or SourceTree git client. Unfortunately github does not support this feature.
It is very simple but it works!
Update: Thanks to your comments I have found another way within Gitlab repository settings:
hope you enjoy this trick and make your tools more fun :)
Solution 2
If you want to put an icon on your project in Gitlab, do the following instructions:
- 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.
- Finally hit Save changes
[NOTE]:
- Note that you should have the
Maintainer
permission on this project. - Maximum size is 200KB
Related videos on Youtube
Mohsen Mirhoseini
I am a senior software engineer with a passion for Android development. I have worked more than seven years extensively in the mobile application and also had a chance to lead and train other developers. I am a kinda computer geek who cannot resist Mobile apps, IoT, Tech talks, and video gaming.
Updated on December 04, 2020Comments
-
Mohsen Mirhoseini over 3 years
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?
-
BrokenBinary over 7 yearsIn GitLab, under the project settings there is a place to upload a "Project Avatar".
-
Cœur about 7 yearsThe feature has been broken on SourceTree for about 2 years: jira.atlassian.com/browse/SRCTREE-3096
-
Mohsen Mirhoseini over 6 yearsI don't think so, cause I am using this feature right now! Read the last comment from the link you sent.
-
-
Benyamin Jafari - aGn over 5 years@VaggelisManousakis Yes, you should have the
Maintainer
permission on this project.