Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Git configuration

# See where configuration options are set.
git config --list --show-origin
git config --list --show-origin --name-only
git config --list --show-origin --show-scope --name-only

# Edit system/global/local.
git config --system --edit

Defaults

# Set the default branch name when using git init. Here set to 'main'.
git config --global init.defaultBranch main