Branch Selection
Repo Overview
Section titled “Repo Overview”After the app validates the local config for a repo, you land on the Repo Overview screen. It lists every branch in the local clone, grouped into:
- Current — the branch checked out right now.
- Local — branches that exist in the local clone but aren’t currently checked out.
- Remote — branches that exist on
originbut haven’t been checked out locally yet.
A filter input narrows the list as you type. Refresh runs git fetch --all --prune against the clone so the Remote group reflects what’s actually on GitHub.
A small Edit project config button sits in the top-right corner — it re-opens the wizard with the current values pre-filled. See Repo onboarding for what it covers.
Switching branches
Section titled “Switching branches”You can switch branches from two places:
- The Repo Overview — click any branch in the Local or Remote groups.
- The branch selector in the editor header — once you’re inside a project, the unified shell’s context dropdown lets you switch without bouncing back to the overview.
Either path runs the same operation: a git fetch <remote> <branch> followed by a hard checkout of the remote branch (git checkout -B <branch> <remote>/<branch>). The local branch is reset to match the remote tip.
Unsaved drafts on switch
Section titled “Unsaved drafts on switch”Drafts in the editor are typed cell edits that haven’t been saved as a commit yet. They’re stored in app storage, keyed per (repo, branch, project) — so:
- Drafts on
mainstay attached tomain. Switching tofeature/xdoesn’t move or destroy them. - When you switch back to
main, the drafts are still there.
If you trigger a switch while drafts exist on the current branch, the app shows an informational dialog:
You have N unsaved drafts on
<current-branch>— continue?
This is a heads-up, not a destructive prompt:
- Continue — completes the switch. Your drafts stay on the source branch and you’ll see them again when you switch back.
- Cancel — stays on the current branch. Nothing changes.
Audit trail
Section titled “Audit trail”Every checkout — successful or failed — is appended to the daily-rotated log file. On macOS:
~/Library/Application Support/io.stape.your-last-translation-tool/logs/app.log.YYYY-MM-DDSuccessful switches write a branch_checkout event with:
from_branchto_branchhead_shaaction
Failures write:
from_branchto_brancherror_kind
See Troubleshooting for equivalent paths on Windows and Linux and for tips on reading the log.