Exercise 02: Local Setup¶
Goal¶
Confirm your Git identity and safe defaults.
Tasks¶
- Run
git config --global --list. - Set
user.name,user.email, andinit.defaultBranch. - Set
pull.ff only. - Create a test repo and confirm the default branch is
main.
Reflection¶
- Which email address will appear on public commits?
- Why is
pull.ff onlyuseful for beginners?