我可以修改别人的拉取请求并将其推回其分支吗?
Can I modify someone else's pull request and push it back in its branch?
GitHub 说明您可以分叉、修改、提交、推送和触发拉取请求。他们还解释说你仍然可以修改、提交、推送并且请求在网站上更新。
我想知道是否可以做完全相同的事情但不是分叉的作者?我是一个带有拉取请求的回购协议的所有者,我想纠正自己,但事后仍在讨论......我试图将我的更改推送到作者的回购协议中(认为会计算出一些正确的访问权限)但访问被拒绝。
官方 GitHub 支持回答在这个日期
It would be up to the owner of the forked repository to decide if they
want to pull your changes into their fork.
You would modify their Pull Request and merge it into your repository.
You could then request them to pull down the changes you have made
into his fork which would synch his fork with yours.
在 GitHub 上创建拉取请求 (PR) 时,您可以 select 选择允许维护者对您的 PR 提交更改的选项。您也可以在创建 PR 后执行此操作:在 PR 的详细视图中,在右下角 "Unsubscribe"、"participants" 下。因此,如果 您 想在您拥有的 GitHub 存储库上提交其他人的 PR:请求他们授予您此权限。
来自 GitHub 帮助页面:"Only pull request creators can give upstream repository maintainers, or those with push access to the upstream repository, permission to make commits to their pull request's compare branch." (Allowing changes to a pull request branch created from a fork)
不幸的是,据我所知,为了让某人提交 PR,您必须授予他们对存储库的写入权限,而不能只是 select 主动地授予他们写入权限公关。
GitHub 说明您可以分叉、修改、提交、推送和触发拉取请求。他们还解释说你仍然可以修改、提交、推送并且请求在网站上更新。
我想知道是否可以做完全相同的事情但不是分叉的作者?我是一个带有拉取请求的回购协议的所有者,我想纠正自己,但事后仍在讨论......我试图将我的更改推送到作者的回购协议中(认为会计算出一些正确的访问权限)但访问被拒绝。
官方 GitHub 支持回答在这个日期
It would be up to the owner of the forked repository to decide if they want to pull your changes into their fork.
You would modify their Pull Request and merge it into your repository. You could then request them to pull down the changes you have made into his fork which would synch his fork with yours.
在 GitHub 上创建拉取请求 (PR) 时,您可以 select 选择允许维护者对您的 PR 提交更改的选项。您也可以在创建 PR 后执行此操作:在 PR 的详细视图中,在右下角 "Unsubscribe"、"participants" 下。因此,如果 您 想在您拥有的 GitHub 存储库上提交其他人的 PR:请求他们授予您此权限。
来自 GitHub 帮助页面:"Only pull request creators can give upstream repository maintainers, or those with push access to the upstream repository, permission to make commits to their pull request's compare branch." (Allowing changes to a pull request branch created from a fork)
不幸的是,据我所知,为了让某人提交 PR,您必须授予他们对存储库的写入权限,而不能只是 select 主动地授予他们写入权限公关。