Repository navigation
Pi Desktop 0.14.0
Branches and worktrees
- Branch menu: the branch chip in the chat header (desktop) and "Branches and worktrees" in a chat's or project's menu (Pi Remote) list the repository's branches (ahead/behind, last commit), remote branches and worktrees, including ones made outside the app. Typing searches every branch on the computer.
- Switch this folder to a branch; a remote one (
origin/x) gets a local tracking branch. A branch checked out in another worktree takes you to that worktree's chat instead. - Create a branch from the current one and switch to it, or open a new worktree chat on a new branch with the name you typed, or on any existing branch.
- Safe by default: no branch switch while a chat in that checkout is running, running a command or waiting on you, whether you ask from the window or a phone. Git's own refusal names the files in the way.
- Removing a worktree can delete its branch too, only when it is merged; the message says how to bring it back. Chats that were open there are closed first. A forced removal moves the folder, uncommitted files and all, to the trash.
- Every window and phone rereads its branch as soon as one changes.
Pi Remote 0.4.0 (Android)
The branch and worktree sheet above, from a chat's menu and from a project's, plus "Remove worktree and its branch…". Install Pi-Remote-0.4.0.apk over 0.3.x; it is signed with the same key. It needs Pi Desktop or pi-remote 0.14.0 for the branch sheet.
pi-remote 0.14.0
The same branch and worktree handling for phones paired with a server. Update with pi-remote update, or npm install -g ./pi-remote-host-0.14.0.tgz.
Install
- Mac:
mac-arm64for Apple Silicon,mac-x64for Intel. Signed with a Developer ID and notarized by Apple. - Android:
Pi-Remote-0.4.0.apk.