0


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'
————————————————————————————————————————分割线
具体就是因为我的码云邮件设置为不公开啦,把邮箱保护开启的缘故,大家可以借鉴一下,把马云上面的邮件保护去掉就行

标签: git c语言

本文转载自: https://blog.csdn.net/zztyxd/article/details/125908688
版权归原作者 zztyxd 所有, 如有侵权,请联系我们删除。

“git did not exit cleanly (exit code 128)已解决”的评论:

还没有评论