When I push commits to github repo from windows github client, I can see my github username and link to my profile in history, like this:
initial commit [username]
But when I push changes from SourceTree, in commits history it looks like:
initial commit [mac_username]
I want my history on github.com looks like the first example (with github username and link to the profile) What settings I should enable in SourceTree to get it?
If you do choose to use SourceTree as a GUI Git client, you'll need to add your GitHub credentials to SourceTree. Let's do that now. Open the SourceTree app.
Technically speaking, both are great GUI tools that provide a seamless way to contribute to projects on GitHub. Sourcetree provides a wider range of features than the GitHub's own GUI tool, and also gives you more control over your repositories. GitHub Desktop, however, is the best tool, if you are just using GitHub.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency; SourceTree: A free Git GUI client for Windows and macOS. Use the full capability of Git and Mercurial in the SourceTree desktop app.
Yes, Sourcetree comes with an embedded version of Git when you install it. Sourcetree 3.4. 8 for Windows comes with an embedded Git v2.
Check the config in those repos:
git config user.name
git config user.email
Make sure the repo on Mac has the same settings than the one on Windows.
This thread details how to change those settings in SourceTree, but check if "Allow SourceTree to modify your global Git configuration file" is set: that means it would apply to all your local git repo (Github or not).
The "Full name" is a bit misleading, in that you should use your GitHub login name (and GitHub account email), in order to generate the right commit author history on GitHub.
Go to preferences and on General tab you can see two text fields, one for Full Name and other for email, set the name whatever you want to appear
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With