refined-github icon indicating copy to clipboard operation
refined-github copied to clipboard

compare and merge branches without PR

Open mfulton26 opened this issue 3 years ago • 2 comments

Description

I'd like to be able to merge one branch into another branch (as long as it isn't protected, e.g. main) without doing a PR whenever there's no need to notify folks, review, etc. (e.g. merging 2 feature branches into one, merging multiple related dependabot branches into one, merging a branch with suggested edits from a GitHub Actions PR check into the PR branch after comparing/reviewing it (e.g. visual regression screenshot updates), etc.)

Screenshot

before image

after image

Example URLs

https://github.com/{owner}/{repo}/compare/{base}...{head}

mfulton26 avatar Sep 01 '22 23:09 mfulton26

This is something I had requested maybe 4 years ago, but I can't find my issue. If anyone can find it, we can find out why it was closed.

Or maybe I'm just confusing it with my own request on StackOverflow 😅 https://stackoverflow.com/q/24276409/288906

Either way, I would not mind it and we do already have some code in place for this. The biggest hurdle would be to offer a UI, but maybe we can get away with a prompt() for the commit title and that's it.

fregante avatar Sep 02 '22 04:09 fregante

maybe we can get away with a prompt() for the commit title and that's it.

that works for me; GitHub API's merge doesn't require a commit message either and the default would work for me most of the time

mfulton26 avatar Sep 02 '22 11:09 mfulton26