I’m using SourceTree as a Git GUI for the sake of simplicity, but some settings are still hard to find. Among those, how to set up (or change) the name and email that you’ll automatically attach to your commits, either system-wide or for the current repository.
Gladly, it’s easy enough to do via the command line: for the current repository, that would be simply:
git config user.email "me@example.com" git config user.name "My Name"
If you want to set those globally, just add a --global
flag, e.g.:
git config --global user.email "me@example.com"
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.