git did not exit cleanly (exit code 128)已解决

git did not exit cleanly (exit code 128)的解决

解决方案一:

前期第一次弹出来的用户名和密码框内的填写错误,补救方法:修改成正确的用户名(不加@)和正确的密码(不确定的可以修改密码)


解决方法:电脑左下角搜索框搜索“管理网络密码”,弹出来页面,普通凭据中删除关于git的密码即可,再进行Commit-push即可

解决方案二:


大家一定要翻一翻报错上面的英文,它可以解释是为什么报错,我翻了一下我的:
remote: error: GE007: Your push would publish a private email address.
remote: You can make your email public or disable this protection by visiting:
remote: https://gitee.com/profile/emails
remote: error: hook declined to update refs/heads/master
To https://gitee.com/ivy258/vc2019-code-2020
! 【remote rejected】 master -> master (hook declined)
error: failed to push some refs to 'https://gitee.com/ivy258/vc2019-code-2020'
————————————————————————————————————————分割线
具体就是因为我的码云邮件设置为不公开啦,把邮箱保护开启的缘故,大家可以借鉴一下,把马云上面的邮件保护去掉就行

  • 6
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值