k88hudson/git-flight-rules

git apply patch to the rescue (question)

Open

#214 opened on Aug 28, 2018

View on GitHub
 (5 comments) (0 reactions) (0 assignees) (2,659 forks)batch import
help wanted

Repository metrics

Stars
 (35,618 stars)
PR merge metrics
 (Avg merge 1m) (1 merged PR in 30d)

Description

Hi, I have a question: I've seen cases where a PR is really bad in terms of merging master multiple times, with commits before, in between etc. The kind of PR you want and should rebase, but it's really hard because of these merges. In this case you can generate a patch, and then apply it on a new branch, to get the exact copy of your old branch, but less messy.

Is there anything in this guide that talks about a similar method? Or should I add that in a new PR?

Contributor guide