How to reload global user information in SourceTree?

I have updated my global username and email on the command line:

git config --global user.name "NewUserName"
git config --global user.email "mynew@mail.com"

I restarted SourceTree, but when I open a repository, then go to Settings > Advanced, it still shows the old username (The 'Use global user settings' checkbox is checked).

Any idea what I need to do to make it correct?

5 answers

Does it show your old e-mail/username when you make a commit, though? It might be just that we're displaying what was previously set in the local. Also, is this for Windows or Mac?

Thanks in advance!

It is just displaying that is wrong. The commit has the good username and email address. This is on Mac.

Strange, I cannot reproduce this behaviour. If you uncheck the 'use global settings' and re-check it, does the username/e-mail change to the global ones. This is the expected behaviour. If doing this doesn't work for you then it's a bug although I can't reproduce it from here

It does not change to the global ones. I am on version 1.6.1 of which the updater tells me that it is the most recent.

I thought I was going crazy seeing how sourcetree managed my global username/email, but I'm glad I'm not alone in this.

Using Win7, sourcetree 1.4.1.0

I see the wrong (old) username in the Tools->Options menu

I opened SRCTREEWIN-1570

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...

720 views 3 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