Docs

Using Since

Short, task-based guides. New here? Start with Getting started.

  1. 01Getting startedInstall, open a repository and learn the first keys.
  2. 02The mapRead the commit graph, search it and inspect commits.
  3. 03Undo and redoWhat ⌘Z can take back, where the history lives and its limits.
  4. 04Staging linesStage or discard files, hunks and single lines, then commit.
  5. 05Rewriting historyReword, squash, fixup, swap and delete commits with one key.