42

I saw other people's image appears to the right of the commit message. How to set up that?

edit: The GUI tools I am using is the SourceTree mac version.

KPM
  • 10,558
  • 3
  • 45
  • 66
Simon
  • 705
  • 1
  • 5
  • 11

3 Answers3

67
  1. Go to http://en.gravatar.com/ create your account and upload the avatar image files that map to your emails.
  2. Close Source Tree
  3. Delete the cache file (or delete all files) inside path

%USERPROFILE%\AppData\Local\Atlassian\SourceTree\cache\img

e.g. C:\Users\MYUSERNAME\AppData\Local\Atlassian\SourceTree\cache\img

  1. Open Source Tree. Now you got what you want!
Giulio Vian
  • 8,248
  • 2
  • 33
  • 41
liu johnson
  • 665
  • 5
  • 2
  • 16
    I think on OS X the equivalent path is `~/Library/Application Support/SourceTree/ImageCache` – Alex L Feb 03 '17 at 04:58
17

If you're talking about Github, the profile image is being pulled from Gravatar (https://en.gravatar.com/).

Iain
  • 985
  • 2
  • 9
  • 20
  • 3
    although I am not talking about GitHub, but in SourceTree it's the same. – Simon Aug 26 '13 at 23:04
  • I think when I read it the first time, I read SourceTree as source tree, not catching that it was a specific product. :) – Iain Aug 26 '13 at 23:06
  • 2
    Still, your answer ir correct, [SourceTree uses gravatar](https://answers.atlassian.com/questions/139733/please-help-how-do-i-change-avatar) – Anthony Accioly Aug 26 '13 at 23:31
  • if *you* are talking about GitHub, then GitHub let its user to have their own avatar set through "Account Setting", not via Gravatar. For SourceTree, yes, it's Gravatar-fetched. – Jim Raynor Apr 02 '16 at 17:47
4

There is an alternative solution for those who just want their Gravatar avatar to display as blank in Source Tree.

In the SourceTree App, navigate to Tools -> Options.

Then, under the 'General' tab, under 'Commit Settings' section, there is an option to use Gravatar.com or not.

'Load avatar images from gravatar.com'

Michael Murphy
  • 434
  • 7
  • 11