Skip to content

feat: add repo sync command with fetch + rebase - #17

Merged
sadpandajoe merged 1 commit into
mainfrom
feat/repo-sync
Mar 27, 2026
Merged

feat: add repo sync command with fetch + rebase#17
sadpandajoe merged 1 commit into
mainfrom
feat/repo-sync

Conversation

@sadpandajoe

Copy link
Copy Markdown
Owner

Summary

  • Adds repo sync command that fetches latest changes from origin
  • When run inside a worktree (no args), also rebases the branch onto its start point (e.g. origin/main)
  • When given an explicit repo arg or run outside a worktree, fetches only
  • Skips rebase on uncommitted changes, auto-aborts on conflicts
  • Removes repo pr create from roadmap (Claude handles PR creation)

Test plan

  • 15 new tests (7 fetch, 5 rebase, 3 git_ops unit) — 247 total passing
  • Pre-commit hooks pass (ruff lint + format)
  • Manual: repo sync from inside a worktree fetches + rebases
  • Manual: repo sync myrepo fetches only
  • Manual: repo sync outside a worktree fetches all repos

🤖 Generated with Claude Code

Adds `repo sync` to fetch latest changes from origin. When run inside a
worktree, it also rebases the branch onto its start point (e.g. origin/main).
Skips rebase on uncommitted changes and auto-aborts on conflicts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sadpandajoe
sadpandajoe merged commit fa3e1f3 into main Mar 27, 2026
2 checks passed
@sadpandajoe
sadpandajoe deleted the feat/repo-sync branch March 27, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant