Git configuration (user.name, user.email)
📖 Scenario: You have just installed Git on your computer. Before you start saving your work, you need to tell Git who you are. This helps Git keep track of who made changes in projects.
🎯 Goal: Set up your Git user name and email address so that your commits are properly identified.
📋 What You'll Learn
Use the
git config command to set your user nameUse the
git config command to set your user emailVerify the configuration settings
💡 Why This Matters
🌍 Real World
Every time you make changes in a project, Git records who made those changes using your configured user name and email.
💼 Career
Knowing how to configure Git user details is essential for collaborating on code in teams and contributing to open source projects.
Progress0 / 4 steps