Skip to content

fix: merging a PR should checkout the base branch, not the default#1095

Closed
sammarks wants to merge 1 commit intocli:trunkfrom
sammarks:pr-merge-checkout-base
Closed

fix: merging a PR should checkout the base branch, not the default#1095
sammarks wants to merge 1 commit intocli:trunkfrom
sammarks:pr-merge-checkout-base

Conversation

@sammarks
Copy link

@sammarks sammarks commented Jun 3, 2020

Thanks for making such a great tool!

In my usage, I've found it would be a more convenient default to switch to the base branch of a PR upon merge instead of the default branch for the repository.

Though, I can see how some would prefer to switch to the base branch instead. Happy to open an issue as well and continue any discussion there if need be.

I haven't modified any tests because I didn't see any where the merge command was tested.

@billygriffin
Copy link
Contributor

Hi @sammarks, thanks for the PR! I think this is a really interesting idea - we ask that contributors create an issue first to discuss and align on a path forward prior to submitting a PR, so could I ask you to do that please?

I'm wondering whether others agree with this assumption that the base branch is always better than the default branch, so I'd love to hear from others before we make a call to change it. Thanks!

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