Topic: Git Basics

Set user name and email – Git

Preview

To set your user name and email for Git, enter the following commands in your terminal:

git config --global user.name "Your Name"
git config --global user.email youremail@example.com

To view the full tutorial, sign up for a free trial on our Sign Up page.