There is a "Refresh Avatars" option in the bookmarks window. I assume that would pull avatars from somewhere, like perhaps GitLab (which has project avatars). How exactly does Sourcetree determine those avatars, and can I customize them?
Hi Garrett,
They are pulled from a remote service if it supports them. In the case of GitLab, we are looking for the "avatar_url" that's returned. If an icon isn't found in the cache, and doesn't return from the server, Sourcetree then looks for an in-repo icon that matches the following:
Hope that helps.
Brian Ganninger
Senior Mac Developer, Sourcetree
Has this feature been abandoned or does it work only in mac os? I'm placing a logo.png icon in the root folder of a repo (haven't committed it though) and sourcetree doesn't employ it as an avatar. What gives?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's not currently supported by Windows but we do have it on the list.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @bgannin
My profile image from GitLab shows up correctly in the Preferences | Accounts list, but anywhere else in Sourcetree a generic geometric shape is displayed.
Any idea why?
macOS 10.14.5
Sourcetree 3.1.2 (216)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bahman Engheta,
Commit icons are driven by Gravatar, not hosting service account avatars. Having this as a fallback when that's unavailable for any reason is a great request to file in our public trackers (Mac, Windows) for us to get it on the roadmap. Thanks for the feedback.
Brian Ganninger
Principal Developer, Sourcetree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What size of this logo image should be?
The two repositories I happened to see this feature on had a 128 × 128 PNG in their root folder. One was `Icon.png`; the other `icon.png`.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.