Skip to content

Add -r shortcut for --rebase option in wt sync command#17

Merged
dev-ankit merged 1 commit into
mainfrom
claude/add-rebase-shortcut-xEBQq
Feb 16, 2026
Merged

Add -r shortcut for --rebase option in wt sync command#17
dev-ankit merged 1 commit into
mainfrom
claude/add-rebase-shortcut-xEBQq

Conversation

@dev-ankit

Copy link
Copy Markdown
Owner

Added -r as a shortcut for the existing --rebase flag in the sync command.
This provides a more convenient way for users to request rebasing during sync.
Also added a test to verify the shortcut works correctly.

Added -r as a shortcut for the existing --rebase flag in the sync command.
This provides a more convenient way for users to request rebasing during sync.
Also added a test to verify the shortcut works correctly.
Copilot AI review requested due to automatic review settings January 20, 2026 08:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a convenient shortcut for the rebase option in the sync command, making it easier for users to request rebasing during sync operations.

Changes:

  • Added -r as a shortcut alias for the existing --rebase flag in the wt sync command
  • Added a test case to verify the shortcut functions correctly

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
tools/wt-worktree/wt/cli.py Added -r shortcut to the --rebase option in the sync command decorator
tools/wt-worktree/tests/test_cli.py Added test case to verify the -r shortcut works as expected

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dev-ankit dev-ankit merged commit 5988804 into main Feb 16, 2026
9 checks passed
@dev-ankit dev-ankit deleted the claude/add-rebase-shortcut-xEBQq branch February 16, 2026 11:51
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.

3 participants