ratchet docs

Changes and commits

Review what an agent changed and commit only the files you want.

PC screenshot of ratchet, changes view
Changes: tick the files, read the diff, then commit.

Commit

Changes shows the main folder: the branch checked out in the repo's own folder. To commit work an agent left in a worktree, ask the agent to commit it, or commit from a terminal in that worktree.

  1. Tick the files to commit. ↑ ↓ move through the list, Space ticks a file.
  2. Read the diff. Wrap wraps long lines, View file opens the whole file.
  3. Write a commit message and press Commit 4 files to feat/checkout-coupons, or press Ctrl+Enter (⌘+Enter on a Mac). Only ticked files go in.

Push and pull

The top of the repo page shows ↑ 2 when you have commits to push and ↓ 1 when origin has new ones. These act on the branch checked out in the main folder. The first push sets up tracking. Pull only fast-forwards. If both sides have new commits, merge or rebase in a terminal.

Commits

Recent history for the branch checked out in the main folder. Click a commit to see its diff. Click a hash to copy it, or open the commit on GitHub. Shows the last 100.

PC screenshot of ratchet, commits view
Commits: recent history with authors and times.

Screenshots use example data. Written for ratchet 0.8.0.