简体   繁体   English

Github-原作者推到分支

[英]Github - original author pushing to forked branch

On Github - So I forked a branch, made some changes, and submitted a pull request. 在Github上-所以我分支了一个分支,进行了一些更改,然后提交了请求请求。 Before the pull request was accepted, I noticed a collaborator of the original branch pushed a commit into my forked branch. 在拉取请求被接受之前,我注意到原始分支的协作者将提交推送到了我的派生分支中。 Then the pull request was accepted with the changes I made and he made in my forked branch. 然后,拉取请求被我所做的更改所接受,并且他在我的分支分支中进行了更改。 How is is possible that he was able push onto my forked branch? 他怎么可能推到我的分叉分支上?

On the pull request create page there's a checkbox (checked by default) that is "Allow edits from maintainers". 在提取请求创建页面上,有一个复选框(默认情况下处于选中状态),即“允许维护者进行编辑”。 This enables maintainers to push changes to your branch before merging. 这使维护人员可以在合并之前将更改推送到您的分支机构。

Here's what it looks like in the current UI: 这是当前用户界面中的外观:

拉取请求复选框

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM