Ad space (banner)
🌿Git Lessons
Lesson 54 / 59

Listing Your Settings with git config --list

This lesson covers listing all your current settings with git config --list. It's for anyone searching "git config --list usage."

git config --list lists every currently configured Git setting. Use it to confirm your name and email are set up correctly.

In Try It, run git config --list. Every item you've configured so far, like user.name and user.email, is listed in key=value format.

A common early mistake is not being aware of a setting's scope — a setting can apply per-repository, per-user, or system-wide, so you need to confirm it was applied at the scope you intended. In real teams, this command gets used to check your configuration when setting up a new computer, or when juggling multiple accounts.

Git
Try it (type this into the pseudo terminal)
git config --list

🧑‍💻 You can type this command into the Git pseudo terminal to try it yourself (this page itself has no interactive terminal).

Ad space (banner)
Ad space (in-article)