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 this and the other 300+ tutorials on Simple Dev, sign up for a 10-day free trial.