git修改密码后,不能push或者pull问题
pull代码时的提示信息:yiche@localhost yc-index % git pullremote: HTTP Basic: Access deniedfatal: Authentication failed for 'http://gitlab.bitautotech.com/EFFC/IS/web/yc-index.git/'处理方法:git config --global user
·
pull代码时的提示信息:
yiche@localhost yc-index % git pull
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://gitlab.bitautotech.com/EFFC/IS/web/yc-index.git/'
处理方法:
git config --global user.name "xxx"
git config --global user.email "邮箱"
输入以上两句命令后,再执行pull和push操作,重新输入自己的密码即可。
更多推荐
已为社区贡献2条内容
所有评论(0)