Branch Selection
Repo Overview screen
Section titled “Repo Overview screen”After the app validates .translations.json, you land on the Repo Overview screen. It lists:
- All local branches, with the current branch highlighted
- Open GitHub PRs you can check out directly
- A New branch button to start a fresh translation branch
Select any branch or PR to begin editing.
Switching branches
Section titled “Switching branches”You can switch branches at any time from the Repo Overview or from the branch selector in the editor header. The app runs git checkout <branch> for you.
Unsaved drafts
Section titled “Unsaved drafts”If you have unsaved changes when you switch:
| Situation | App behavior |
|---|---|
| Working tree is clean | Switches immediately |
| Uncommitted changes exist | Shows a prompt: Stash or Discard |
Stash — changes are stashed with the prefix ytt: pre-checkout from <branch> on <iso-date>. You can recover them with git stash list and git stash pop <ref>.
Discard — changes are discarded permanently. The app warns you before you confirm. Check git fsck --lost-found as a last resort if you discard by accident.
Working with PRs
Section titled “Working with PRs”Selecting an open PR checks out the PR’s head branch locally. The editor then operates on that branch — any changes you save go into a new commit on the PR branch.