Skip to content

Merging pull requests with forge #524

Closed Answered by tarsius
Mastergamer433 asked this question in Q&A
Discussion options

You must be logged in to vote

I recommend you do not use forge-merge, as it performs the merge using the Github API, and doing that results in inferior merges, depending on which "merge method" you choose. Github does not offer basic "fast-forward" merge, which is extremely annoying. This command exists for users whose employer forces them to use the API to perform merges.

To perform a merge in Emacs, use Magit's merge commands. You can, for example, place the cursor on a pr in the pull-request list in the status buffer and type m m.

What I usually do is to check out the pr using b n b f on the pr in the status buffer, then (possibly after *) I merge the checked out branch into to proper branch (likely main/master) us…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by tarsius
Comment options

You must be logged in to vote
4 replies
@tarsius
Comment options

@Mastergamer433
Comment options

@tarsius
Comment options

@Mastergamer433
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants