Chapter 14 of 14All chapters
Chapter 14 of 14
Working with others
Pull requests, review and shared habits.
The usual flow
Branch from main, commit, push the branch, open a pull request, get review, merge. The pull request is where discussion and automated checks attach to the change.
- Keep pull requests small enough that someone can actually read them.
- Rebase or merge main into your branch before asking for review, so the diff is honest.
Habits that help
Pull before you start, commit in coherent steps, and write messages that explain why rather than what. The diff already says what changed.