SourceTree commit author change/update

In SourceTree, how do I update the author that shows in the Author field of the commit UI? it always seems to revert back to a name & email that i don't recall inputting.

1 answer

1 accepted

11 votes
Answer accepted

Hi Patrick,

There are two places this could be happening. Firstly you have a global user details setting in SourceTree. This can be found in the SourceTree menu then "Preferences" (or Cmd+,) and you'll see at the top which user details are used.

If these are correct then there are repository-level settings instead allowing you to override the global settings per-repository. You can find these by going to either the "Repository" menu (when the repo window is open) and hitting "Repository Settings" or clicking the "Settings" button on the toolbar of the repository window on the right hand side. Click on the "Advanced" tab and you'll see some further author details. If the checkbox "Use global user settings" is turned off then it'll be using those author details instead.

Hope that helps!

Thank you for your response! This helped, though I should mention...

I checked both settings, and both showed identical author name & email, but only when I uncheck "Use global user setting" does the commit author change as expected. And, in order for the "Use global user setting" to work when checked (even though both showed the same info), I needed to edit the Default user info and just re-enter the same info.

Thanks again!

I can confirm this is the case. Version of SourceTree.

You have to clear the "Default User Information" save, then re-type and save before it will update and correctly use this for commits on Repos that are set to use the default info.

Can confirm this behavior on SourceTree version

Issue still exists in  Glad for the workaround mentioned by David. I had to delete my email address from the Default User Information field, apply, open, type in same email address as appeared there before, apply. Now the commit dialog shows the correct info.

Thanks Scott. I had the same issue with, and your suggested workaround fixed the problem for me too.

Can confirm - still happening in the version immediately prior to 2.7.1.  I applied the fix concurrent with upgrading, so I can't say if this still exists in 2.7.1.

I can confirm too, it is still happening my version is:
What an annoying bug !!! :@ 

Thanks David Scherer,
I got it with your help.

This issue is currently happening in version 2.5.5 also.

Still an issue in 2.6.9. Will it be fixed!?! has the same issue. That is not fun

In my case ExDev who handed-over this computer to me, his ID PW was there as global. I entered mine one and checked use globally. And it worked.

v 3.0.12, still an issue

Like 1 person likes this

Almost 6 years later and this stills an issue on 2.7.6 macOS.
Need to untick "use global user settings" to manually type name/email on each repo settings :D

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,219 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you