Description
Add parsec sync [ticket] command to update a worktree with the latest changes from its base branch.
Details
parsec sync — sync current worktree
parsec sync <ticket> — sync specific worktree
parsec sync --all — sync all active worktrees
- Default strategy: rebase (configurable to merge)
- Fetch from remote before rebase/merge
- Report conflicts if any
Implementation
git fetch origin <base>
git rebase origin/<base> (or git merge origin/<base>)
- Add
[sync] strategy = "rebase" to config
Priority
Low difficulty, high impact
Description
Add
parsec sync [ticket]command to update a worktree with the latest changes from its base branch.Details
parsec sync— sync current worktreeparsec sync <ticket>— sync specific worktreeparsec sync --all— sync all active worktreesImplementation
git fetch origin <base>git rebase origin/<base>(orgit merge origin/<base>)[sync] strategy = "rebase"to configPriority
Low difficulty, high impact