k88hudson/git-flight-rules

git apply patch to the rescue (question)

開放

#214 建立於 2018年8月28日

 (5 則留言) (0 個反應) (0 位負責人) (2,659 個分叉)batch import
help wanted

倉庫指標

星標
 (35,618 顆星)
PR 合併指標
 (平均合併 1分鐘) (30 天內合併 1 個 PR)

描述

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?

貢獻者指南