Here’s a quick list of every Git command referenced in this book, plus a few others. Arguments in square brackets (e.g.,
[thing]) are optional.
Updates Git’s settings, modifying the preference identified by
<key>, such as
user.email, with the given
<value>, such as firstname.lastname@example.org. The
--global flag saves preferences to a file in your home directory, so Git will apply them to every project on your computer. Otherwise they’re saved and applied only within a specific project.
Creates a new Git project inside the current working directory—that is, if you’re inside a directory named
my-awesome-project that contains a website you’re working on, running
git init will turn the ...