You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi there,
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.
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.
Hello! You can change the username + email used for commits by clicking on the picture on the commit screen. It should open a popup that will allow you to change it:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This doesn't answer the OP's question of how to change it to their GitHub account :/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, that's because it's not possible to automatically use your Github or Bitbucket account as the default author info for commits. You need to manually override it per-repo, or use one common name and email.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.