其他分享
首页 > 其他分享> > CLA not signed yet

CLA not signed yet

作者:互联网

参加github上的开源项目,需要github账号,这是必须的。同时公司内部搭建了个git服务器,每个人都有一个git账号往公司的git服务器push 或者 pull代码。参加开源项目提交代码时,不慎使用了公司的git账号提交导致CLA验证的时候过不去(验证提交代码的user_name),这个时候需要修改本地单独开源项目的user_name和user.email。

进入本地仓库目录,查看:

git config user.name

git config user.email

或者git config --list

修改配置:

git config user.name abc

git config user.email abc@hotmail.com

其中abc是github账号,可以把abc@hotmail.com邮件加入到github的邮箱配置中去。

如果push 或者pull遇到什么timeout 或者类似什么LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443错误。可以在/etc/hosts中尝试禁止或者开启:

140.82.113.4 github.com

199.232.69.194 github.global.ssl.fastly.net

185.199.108.153 assets-cdn.github.com

185.199.109.153 assets-cdn.github.com

185.199.110.153 assets-cdn.github.com

185.199.111.153 assets-cdn.github.com

以上ip不固定。

参考:另外一个push错误参考github开发人员在七夕搞事情:remote: Support for password authentication was removed on August 13, 2021._星空-CSDN博客

标签:git,config,cdn,CLA,signed,github,user,com,yet
来源: https://blog.csdn.net/javajxz008/article/details/120506238