Sourcetree and github

When I click on github repo from the github windows client, I can see my username and a link to my profile in the history, for example:

initial commit [ username ]

But when I push the changes from SourceTree, in the commit history it looks like this:

initial commit [mac_username]

I want my story on github.com to look like the first example (with the github username and profile link) What parameters should I include in SourceTree to get it?

+7
source share
2 answers

Check the configuration in these repositories:

git config user.name git config user.email 

Make sure the repo on Mac has the same settings as on Windows.

This thread describes how to change these settings in SourceTree, but check if "Allow SourceTree to modify your global Git configuration file is allowed" set: this means that it will apply to all local Git repositories (Github or not).

settings

The "full name" is a little misleading, as you must use your GitHub login (and GitHub account email) to generate the correct copyright history on GitHub.

+11
source

Go to the settings and on the General tab, you will see two text fields: one for the full name and the other for email, specify the name that you want to display

+2
source

All Articles