I'm currently dealing with an issue that when i commit and push through Sourcetree it seems to use the default author and email address rather than my Github account. When i go into the commits of the repo it shows it as the full name listed on the Source Tree Account without an avatar and unclickable rather than my github username with the avatar that i use. I've tried to uncheck the 'Allow Sourcetree to modify your global git configs' as well as setting my Github account as the default in the accounts tab with no prevail. Any suggestions how i can get it working? cheers.
Thanks for this, I think my issue might have stemmed from accidentally syncing a SourceTree config file from another computer with this computer, so a problem of my own making! When I checked the commit details, the email address being used wasn't what I'd entered in the repo settings, nor what was displayed in the File Status interface; it was something like the Windows user.
In the end I uninstalled, deleted all traces of SourceTree files I could find and re-installed, which sorted it.
These articles might help:
What was particularly helpful for me in diagnosing the problem was this tip from the first link above: add .patch to the end of a commit URL on GitHub to view details of the commit, including the email address the commit used. The email address is what GitHub uses to link it to your account, so this is the key bit of information.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events