Git - set username and email

0 votes
25 views
added Jan 9 in Git by lcjr First Warrant Officer (11,900 points)
To stop seeing the message about your name and email address every time you commit, you need to explicitly configure your Git user identity. Here’s how you can do it:

git config --global user.name "Your Name"
git config --global user.email "[email protected]"

 

Verify Your Configuration: Check if the global configuration has been applied correctly:

git config --global --list

 

You should see:

user.name=Your Name
[email protected]

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...