如何合并克隆和编辑的请求请求?

时间:2020-02-03 02:06:43

标签: git github

我已经按照简单的说明herehere克隆了请求请求。

我已经在本地编辑了克隆的PR,现在我想将其合并为该软件的新版本。我该怎么做呢?

到目前为止我已经尝试过的

我尝试了以下

git add . 
git commit -m "minor edits to pr"
git push

看见

fatal: The current branch pullrequest has no upstream branch. 
To push the current branch and set the remote as upstream, use 
git push --set-upstream origin pullrequest

所以我随后运行了git push --set-upstream origin pullrequest

我现在看到了

enter image description here

绿色框中的PR是我要编辑和合并的PR

1 个答案:

答案 0 :(得分:0)

对于其他人,我所做的就是

  • 按原样合并PR,然后
  • 之后立即合并我进行的PR(包含编辑)

这导致2个拉取请求(而不是将我的编辑滚动到原始请求中)

我无法弄清楚如何编辑原始PR,尽管作为维护者,我可能没有这样做的权限。 (尽管even that's unclear

相关问题