github页面上进行rebase

188 words, 1 mins

提交 PR 到github上,默认的会以 develop为 base 显示所有的 commit 和 changed files,如果我们的 PR 分支(bugfix)是基于一个还没有合并到 develop的分支(feature) ,而且feature还比较大,为了 review 方便,我们应该调整 bugfix的base: develop -> feature

在 PR 页面选择 edit

image-20200717112051077

调整base branch

image-20200717113056197