Author not showing correct Name
Asked by JLaz:

Hello there.  
At work we are using Bitbucket / Sourcetree and Windows10.  
I just updated Sourcetree to version 3.4.7.0

Author on Bitbucket: Firstname Lastname (with space)  
Author in Sourcetree project + general settings: FirstnameLastname (without space)  
Author in Sourcetree History tab: Lastname + email  

My Question:  
Why is Sourcetree showing only "Lastname" for the commit author in the History tab, when the name given in the project settings **and** in the global Sourcetree settings is "FirstnameLastname"?*Use global settings* checkbox in project settings is **active** .  
On Bitbucket itself is shows "Firstname Lastname". Again different (space between) but just why is Sourcetree neither using the name thats shown on Bitbucket nor the name given in the settings?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@JLaz](/t5/user/viewprofilepage/user-id/4583037) ,

welcome to community!

Please read the following detailed guide on how-to manage name in sourcetree <https://www.awordfromnet.com/how-to-change-name-and-email-address-of-author-and-committer-with-sourcetree/>

In particular, try the following approach :

* Open Options, and **check** "Allow Sourcetree to modify your global Git and Mercurial config files"
* Open the repository, open the repo settings (top right gear), and make sure "Use global user settings" under advanced is **checked**
* Sourcetree will now modify your git settings (which can be found in 'C:\\Users\\\<username\>\\.gitconfig' under '**\[user\]**')

Hope this helps,

Fabio

comments: author: JLaz
body: Hello.

The option to allow Sourcetree to modify Git- \& Mercurial config files was and still is enabled.  
The option to use global user setting is also enabled ( I wrote that already)  
The .gitconfig says "Firstname Lastname" (with a space)  

Sorry, but that didn't help at all.


author: Fabio Racobaldo _Herzum_
body: Hi [@JLaz](/t5/user/viewprofilepage/user-id/4583037) ,

does your issue happens for just your user or for all users in the author column?


author: JLaz
body: Other Authors have different Information depending on which branch the commit is on which is also very strange. But at least its their first and last name.


author: JLaz
body: Here are screenshots of the sourcetree and .gitconfig settings. Firstname and Lastname everywhere.

![Screenshot 2022-02-03 144945.png](https://community.atlassian.com/t5/image/serverpage/image-id/181424iFA45A224D935C879/image-size/large?v=v2&px=999 "Screenshot 2022-02-03 144945.png")![Screenshot 2022-02-03 145017.png](https://community.atlassian.com/t5/image/serverpage/image-id/181425i82CFB907A8F0C1DD/image-size/large?v=v2&px=999 "Screenshot 2022-02-03 145017.png")![Screenshot 2022-02-03 145040.png](https://community.atlassian.com/t5/image/serverpage/image-id/181426i841D5896F4CD802F/image-size/large?v=v2&px=999 "Screenshot 2022-02-03 145040.png")![Screenshot 2022-02-03 145154.png](https://community.atlassian.com/t5/image/serverpage/image-id/181427iE320C415EF8873AB/image-size/large?v=v2&px=999 "Screenshot 2022-02-03 145154.png")

See, the names change as soon as sth happens on the dev branch. For me only Last name.

![Screenshot 2022-02-03 144806.png](https://community.atlassian.com/t5/image/serverpage/image-id/181428i42AC714AF216A6AE/image-size/large?v=v2&px=999 "Screenshot 2022-02-03 144806.png")


author: JLaz
body: leaving a ping here..


author: Fabio Racobaldo _Herzum_
body: Hi [@JLaz](/t5/user/viewprofilepage/user-id/4583037) ,

please could you check the Display Name of your user on bitbucjet side in order to verify that it contains First Name and Last Name?


author: JLaz
body: As already mentioned in the beginning, Bitbucket shows Firstname (space) Lastname.  
![Screenshot 2022-02-11 163024.png](https://community.atlassian.com/t5/image/serverpage/image-id/183050iF4285BCA935EEC33/image-size/large?v=v2&px=999 "Screenshot 2022-02-11 163024.png")


author: John Perry
body: I have this problem, too; version 3.4.14 on Win 10, using github enterprise.


Tags: author

name