Skip to main content

常见问题

¥Frequently Asked Questions

拉取请求 (PR)

¥Pull Requests (PRs)

如何允许维护者编辑我的 PR?

¥How do I allow maintainers to edit my PR?

提交拉取请求时,合并之前可能需要进行一些额外的更改。通常情况下,维护人员在合并之前自行进行这些更改比在代码审查时要求你这样做效率更高。

¥When you submit a pull request, there may be additional changes necessary before merging it. Oftentimes, it is more efficient for the maintainers to make these changes themselves before merging, rather than asking you to do so in code review.

默认情况下,大多数拉取请求的右侧边栏都会显示 ✅ Maintainers are allowed to edit this pull request. 标记。

¥By default, most pull requests will have a ✅ Maintainers are allowed to edit this pull request. badge in the right-hand sidebar.

如果你没有看到此标记,则可能是你正在从中发出拉取请求的分支关闭了此设置。有关更多信息,请参阅 此 Github 文档页面

¥If you do not see this badge, you may have this setting off for the fork you are pull-requesting from. See this Github docs page for more information.

需要注意的是,Github 不允许在组织 (issue) 中的分叉中启用此设置。如果你在组织中工作,我们建议你从个人分支提交 PR 以启用此设置。

¥Notably, Github doesn't allow this setting to be enabled for forks in organizations (issue). If you are working in an organization, we recommend submitting your PR from a personal fork in order to enable this setting.