Skip to content

parsec sync — rebase/merge base branch into worktree #26

@erishforG

Description

@erishforG

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions