Skip to content

Conversation

@Angelmmiguel
Copy link
Contributor

Adds the ability to specify a custom branch name when creating a new task, providing more control over git branch naming conventions. This change also clarifies the branch selection options by renaming the existing --branch flag to --source-branch.

Closes #128

Changes

  • Added --target-branch option to specify a custom name for the worktree branch instead of auto-generated names
  • Renamed --branch option to --source-branch for clarity about its purpose as the base branch
  • Updated branch validation logic to use the new option names
  • Fixed formatting inconsistencies in string concatenations throughout the file

Notes

The auto-generated branch naming pattern (rover/task-{id}-{randomString}) is still used by default when no custom target branch is specified. This maintains backward compatibility while giving users the flexibility to use their own branch naming conventions when needed.

@Angelmmiguel Angelmmiguel self-assigned this Sep 2, 2025
@Angelmmiguel Angelmmiguel added this to the beta milestone Sep 2, 2025
@Angelmmiguel Angelmmiguel merged commit 57c5f25 into main Sep 2, 2025
4 checks passed
@Angelmmiguel Angelmmiguel deleted the rover/task-16-RVmBVGUZ1q5t branch September 11, 2025 05:45
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.

Rename --branch to --source-branch and add --target-branch option for custom worktree names

2 participants