GitHub在合并拉取请求后,是否跟踪源分支的更改?

huangapple go评论92阅读模式
英文:

Is github tracking source branch changes in pull request after pull request was merged?

问题

GitHub会追踪我在这个拉取请求中对我的存储库/分支进行的任何新更改吗?

英文:

I have created a GitHub pull request from master/main branch instead of creating from my dedicated branch by mistake.
This pull request is already merged and closed.

Would GitHub track any new changes I would make to my repository/branch in this pull request?

答案1

得分: 1

GitHub 会跟踪我在此拉取请求中对我的存储库/分支所做的任何新更改吗?

不会在这个(已合并和关闭的)PR中,但你可以:

  • 拉取(以更新 origin/main
  • 将你的专用分支重新基于 origin/main (git switch dedicated; git rebase origin/main)
  • 推送并从那里创建你的PR。
英文:

> Would GitHub track any new changes I would made to mine repository/branch in this pull request?

Not in this (merged and closed) PR, but you can:

  • fetch (in order to update origin/main)
  • rebase your dedicated branch on top of origin/main (git switch dedicated; git rebase origin/main)
  • push and create your PR from there.

huangapple
  • 本文由 发表于 2023年3月31日 19:53:24
  • 转载请务必保留本文链接:https://go.coder-hub.com/75898232.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定