Please use a newer Browser like Firefox or Chrome. We are ending support for this browser. Please upgrade your browser to improve your experience and security.

How to Change Author Name and Email in SourceTree

Tutorials ·

If you ever wonder how to change author name and email address in SourceTree, then you come to the right place. On the other hand, if you not yet connect to GitLab via SourceTree, then you can refer to this detailed guide.

What Will We Learn

  • What global name and email address are
  • Change name and email address for author and committer in global and repository specific

What is global name and email address?

In SourceTree, you can change author name and email address in global level or repository specific. You can think global name and email address as a default name and email address. Whenever you did not set specific name and email address for the repository when committing code, the default name and email address will be used.

Furthermore, when you changing the author name, the author name will also be used as committer name.

Change global name and email address

Let start with changing global name and email address of author and committer. To change the global name and email address, click on Tools and then click on Options.

Change global name and email address - step 1

Under General tab, you can change the name and email address of author and committer for the git. When you done, click OK.

Change global name and email address - step 2

Before committing your code, check the information here. Make sure it is updated name and email address.

Check commit user information

Finally you are ready to commit, you should be able to see your updated name and email address.

If your name and email address still not updated, it is possible that the repository configure not to use the global user information. If this is the case, go to Settings, then tick on Use global user settings.

After that, try to commit your code again. It should work for you this time.

Change name and email address for specific repository

To change name and email address for a specific repository, go to Settings.

Go to settings

Uncheck Use global user settings. Then change your Full Name and Email Address, click OK when it is done.

Change your full name and email address

Now, you can try to commit your code. The name and email address of author and committer should be updated.

Updated information

I hope this guide can help you to change the name and email address of author and committer. If you face any other issues, please leave your comment below.

Leave a Reply

Your email address will not be published. Required fields are marked *