Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vue.js/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Can';t push提交到GitHub中的Pull请求_Github_Git Commit_Pull Request_Branching And Merging - Fatal编程技术网

Can';t push提交到GitHub中的Pull请求

Can';t push提交到GitHub中的Pull请求,github,git-commit,pull-request,branching-and-merging,Github,Git Commit,Pull Request,Branching And Merging,我建立了一个私人免费github回购协议,与我的朋友一起进行一个项目。我设置了一个分支保护规则,如清单1所示。因此,当我想将新提交推送到拉请求时,我会得到一个错误 remote: error: GH006: Protected branch update failed for refs/heads/neo-14-block-prefab-hp-system. remote: error: At least 1 approving review is required by rev

我建立了一个私人免费github回购协议,与我的朋友一起进行一个项目。我设置了一个分支保护规则,如清单1所示。因此,当我想将新提交推送到拉请求时,我会得到一个错误

remote: error: GH006: Protected branch update failed for refs/heads/neo-14-block-prefab-hp-system.        
remote: error: At least 1 approving review is required by reviewers with write access.        
error: failed to push some refs to 'git@github.com:robinsadeghpour/nogame_prototypes.git'
To github.com:robinsadeghpour/nogame_prototypes.git
!   refs/heads/neo-14-block-prefab-hp-system:refs/heads/neo-14-block-prefab-hp-system   [remote rejected] (protected branch hook declined)
如何启用对开放拉取请求的推送提交


您只能提交到未受保护的分支。创建一个新分支并推送您的更改,然后向您要合并的分支创建一个新的请求