Git Config User
Predict Output Easy
Question
What does this code print?
Code
git config user.name
# Ada Lovelace
Hint
config user.name shows the commit author name.
Explanation
git config user.name shows the name used in commit metadata. Set it with git config user.name "Your Name". Use --global to set it for all repositories: git config --global user.name "Your Name".
Related Resources
Related Lessons
- Git Init
Learn git init.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.