home — Ch.1 · Introduce yourself to git
Exercise 1 of 11
Before you start
Git signs your work
Every commit records who made it. Git takes that from two settings: user.name (your name) and user.email (your email address).
Settings are read and written with git config. Adding --global saves one for every repository on this computer.
A value that contains spaces, such as a full name, goes inside quotes.
- git config --global user.name "Your Name"
- save your name
- git config --global user.email you@example.com
- save your email address
- git config user.name
- show one saved setting
- git config --list
- show every saved setting
You can reopen this any time with “Lesson”.
Nothing to show yet. Use the terminal below.
Graph
No repository here yet.