Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to check whether feature/hotfix/release branch is mergable #163

Open
novopl opened this issue Oct 7, 2018 · 0 comments
Open
Projects
Milestone

Comments

@novopl
Copy link
Owner

novopl commented Oct 7, 2018

What?

Add an optional code path to finish so that it first checks whether the current branch is mergable

Why?

For less git-experienced users it might be easier to just pass that flag every time so they are kept from
accidental merge conflicts.

How?

Add --guard option that toggles the extra code path to test whether the current branch can be merged.

Pull latest base branch, create a temporary branch off the base branch and try to merge the current branch into it. If the merge was successful the branch can be merged

@novopl novopl added the feature label Oct 7, 2018
@novopl novopl added this to the 1.0 milestone Oct 7, 2018
@novopl novopl added this to Backlog in 1.0 via automation Oct 7, 2018
@novopl novopl moved this from Backlog to Should in 1.0 Oct 7, 2018
@novopl novopl added the patch label Oct 8, 2018
@novopl novopl moved this from Should to Could in 1.0 Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
1.0
  
Could
Development

No branches or pull requests

1 participant