You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(worktrees): create a new worktree from the popup
Press `c` in the Worktrees popup to open a Create Worktree input.
Enter a path (absolute, or relative to the repo root); gitui creates a
linked worktree there with a new branch named after the final path
component, then the list refreshes to show it.
- asyncgit: new `create_worktree(repo_path, path) -> Result<PathBuf>`
via git2 `Repository::worktree` (no-ref -> new branch at HEAD), + 2
tests
- new src/popups/create_worktree.rs (path input, no branch-name
normalization; live-validates the derived branch name)
- wiring: queue `CreateWorktree`, app field/ctor/macros/handler,
worktrees popup `c` trigger, strings; App::update refreshes an open
worktrees list
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BMQxBdr5f3B3jmDtdvGtTu
0 commit comments