Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

In order to commit your changes GIT requires that you set two variables:

  • user.name - Your name i.e. “Joe Blogs”

  • user.email - Your email i.e. mary.Jones@life.com

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.

These parameters are different from the credentials required for your cloud host.

It is best practice (but not mandatory) to pick an email address and name which is recognized by your cloud host account.

These settings can be found in your global .gitconfig file:

[user]
         name = Mary Tyler More
         email = mary@moore.com
  • No labels