You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 7
Next »
GIt requires that you tell it your name and your email address. You can pick anything you like but it’s best practice to pick an email address that your cloud host will recognize if you want to be able to trace your commits in that cloud host. Cloud host providers like Bitbucket and Github will try and match the email address to known users.
So it is best practice (but not mandatory) to pick an email address and name which is recognized by your cloud host account.
If you haven’t configured your Git credentials you are likely to see something like this:
You can set these in the GUI:
Click on Ellipisis in the Git credentials section
Fill in your Name and Email and click Save
Setting them with the Git command line
These can be set at the command line of GIT, like so:
git config --global user.name "Mary Tyler Moore"
git config --global user.email "mary@moore.com"
The GIT setup screen also allows one to set these parameters.
Where are they stored?
These settings can be found in your global ~/.gitconfig file:
[user]
name = Mary Tyler Moore
email = mary@moore.com
Back to Orientation