git push error: A Contributor Agreement must be completed before uploading

因为是从官方版本库做的镜像,所以有些权限直接从官方同步到了本地。

今天,有同事执行git push操作,报错:

根据网上搜索的内容,在gerrit.config中[auth]中添加如下内容:

[auth]
        type = HTTP
        contributorAgreements = true

然后,重启gerrit,再次查看settings下,还是没有发现agreements这个选项。

怀疑是浏览器缓存问题,删除cookies重新登录gerrit webui,然后打开settings,就看到有agreements:

然后,在All-Projects这个版本库中,关闭agreement:

然后,重新push就OK了。

时间: 2024-11-14 12:18:41

git push error: A Contributor Agreement must be completed before uploading的相关文章

git push error: RPC failed; result=56, HTTP code = 0 [closed]

git push的时候发生标题上面的错误,不知道怎么解决.搜索了下stackoverflow,上面说是http的postBuffer不够导致的. 要运行以下命令: git config --global http.postBuffer 2M 但是,很遗憾,没有解决,还是同样的错误. 又有的回答说是github本身的问题导致的,瞎,我整个下午都是这样的问题,不可能是github网站本身的问题吧?然后我重新下载最新版的git,重新配置了下SSH key,还是不行.等我解决了就update这文章..=

git push error:error: insufficient permission for adding an object to repository database ./obje

http://stackoverflow.com/questions/1918524/error-pushing-to-github-insufficient-permission-for-adding-an-object-to-reposi 原因: 用ssh 管理时,客户端机器对服务器git代码仓库的写权限出了问题.如参考文 //登录到git 服务器 ssh [email protected]   //进入代码仓库 cd repository.git  //改变代码仓库下,所有文件的访问权限,

git push 报错

git push报错误: Git push error: RPC failed; result=56, HTTP code = 200 fatal: The remote end hung up unexpectedly fatal 从stackoverflow 找到的答案,解决问题 http://stackoverflow.com/questions/15240815/git-fatal-the-remote-end-hung-up-unexpectedly http://stackoverf

git push报错error: failed to push some refs to '[email protected]:

$ git push -u origin master To [email protected]:xxx/xxx.git ! [rejected] master -> master (fetch first) error: failed to push some refs to '[email protected]:xxx/xxx.git' hint: Updates were rejected because the remote contains work that you do hint:

on the go way (五)git push 403 error

在使用git push的时候产生这种情况 error: The requested URL returned error: 403 while accessing https://github.comgit/info/refs edit .git/config file under your repo directory find url=entry under section [remote "origin"] change it from url=https://[email pr

git push origin master出错:error: failed to push some refs to

1.输入git push origin master 出错:error: failed to push some refs to 那是因为本地没有update到最新版本的项目(git上有README.md文件没下载下来) 本地直接push所以会出错. 2.所以本地要输入git pull 然后出现的英语提示'git pull <repository> <refspec>'显示要选择远程分支 2.就试试指定目标到远程分支 输入git pull origin 出现提示 but did n

git review时出现fatal: ICLA contributor agreement requires current contact information.错误

使用git review时出现错误: fatal: ICLA contributor agreement requires current contact information. Please review your contact information: https://review.openstack.org/#/settings/contact fatal: Could not read from remote repository. Please make sure you have

git push remote error解决办法

通常在用git clone了remote端(服务器)的git仓库后,再进行了自己一系列修改后,会将自己测试后稳定的状态push到remote端,以更新源仓库,使 其他人在pull的时候得到自己的修改.但是在git push的时候会经常出现如下的错误提示. remote: error: refusing to update checked out branch: refs/heads/master remote: error: By default, updating the current br

delete master error(git push origin :master)

All good so far. We next want to delete the branch on github. However, if we do this the naive way: git push origin :master we just get an error like this: remote: error: refusing to delete the current branch: refs/heads/master To [email protected]:m