Chapter Ten · Practice

Habits That Keep You Out of Trouble

Nothing new is introduced here. Ten chapters of commands become a daily routine, a set of conventions worth adopting, the four mistakes that actually hurt — and one page to come back to when something has gone wrong.

4 topics

Nothing new is introduced in this chapter. Everything in it is something you have already learned, arranged for use rather than for teaching.

Four topics. A day of Git, which collapses ten chapters into one routine and reveals how few commands actually carry it. The conventions worth adopting, which nobody enforces and everybody appreciates. The four mistakes that genuinely hurt, each with the habit that prevents it. And one page to come back to when something has gone wrong and you are not thinking clearly — written to be read in that state rather than in this one.

The six commands that carry a normal working day
switch · pullstart from now
add · committhe loop
statusconstantly
pushwhen it is ready

Topics in This Chapter