Skip to content

How we use git

Now (the migration and the tasks after it)

Section titled “Now (the migration and the tasks after it)”
Who Does
Claude (Claude Code) Writes the code and the docs, commits, pushes a branch, opens the pull request.
Frank Reviews the pull request and merges it.

Rules that stay:

  1. Never push behaviour changes straight to main. One branch per piece of work (for the migration: migrate-lightsail-1, migrate-lightsail-2, migrate-lightsail-3; for these docs: docs-migration-guide).
  2. No code change without Frank’s express go-ahead.
  3. A change to behaviour and a change to its docs page go in the same pull request.
  4. The repository’s tests (npm test) must pass before a pull request is opened.

Later: the move to the bideward GitHub organisation and the IDE

Section titled “Later: the move to the bideward GitHub organisation and the IDE”

From the move to the bideward GitHub organisation (see the backlog, section Git and organisation) Frank does every git action himself. Claude writes the code and, for every task, gives a short tutorial so he can do the git part with understanding. Nothing about this applies before the move.

Each tutorial uses the same four parts as the migration guide:

Part Content
EXPLAIN — why What the git step is for and what it protects.
SHOW The exact commands, the branch name, the commit message and the pull request title and description, ready to paste.
DO The order to run them, and where (IDE terminal or GitHub page).
VERIFY — you should see The checks that prove it worked: the branch on GitHub, the checks green, the diff you expect.

A typical task tutorial:

Terminal window
git switch main
git pull
git switch -c feature/short-name
# ... Claude's changes are in your working folder ...
git status
git add -A
git commit -m "ID: one-line summary"
git push -u origin feature/short-name

Then open the pull request on GitHub with the title and description Claude supplies, wait for the checks, review the diff, and merge.

These are listed in the backlog with their action: repository name, branch protection and code owners on main, a read-only deploy key per repository for the server, and secret scanning with push protection.