Skip to content

feat(tasks): add configurable base branch for worktree creation and m…#24

Open
qaziatiq wants to merge 1 commit intojohannesjo:mainfrom
qaziatiq:feature/changing_base_branch
Open

feat(tasks): add configurable base branch for worktree creation and m…#24
qaziatiq wants to merge 1 commit intojohannesjo:mainfrom
qaziatiq:feature/changing_base_branch

Conversation

@qaziatiq
Copy link

I wanted the ability to create worktrees from my develop branch, instead of the main branch, added this on starting the task so the merge goes back to the branch of your choice (from where you had checked it out) instead of main branch.

  • Add optional baseBranch parameter to createTask and mergeTask flows
  • Add base branch input field in NewTaskDialog with auto-detection
  • Pass baseBranch as startPoint to git worktree add command
  • Use baseBranch as merge target instead of auto-detected main branch
  • Persist baseBranch in Task and PersistedTask types
  • Add validation for baseBranch parameter in IPC handlers

…erging

- Add optional baseBranch parameter to createTask and mergeTask flows
- Add base branch input field in NewTaskDialog with auto-detection
- Pass baseBranch as startPoint to git worktree add command
- Use baseBranch as merge target instead of auto-detected main branch
- Persist baseBranch in Task and PersistedTask types
- Add validation for baseBranch parameter in IPC handlers
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.

2 participants