git报错-->! [remote rejected] master -> master (push declined due to email privacy restrictions)
来源:互联网 发布:网校用什么软件 编辑:程序博客网 时间:2024/06/07 02:06
报错信息:
! [remote rejected] master -> master (push declined due to email privacy restrictions)
于是百度,所以一下内容容我做一个搬运工
原文地址:https://stackoverflow.com/questions/43378060/meaning-of-the-github-message-push-declined-due-to-email-privacy-restrictions/43378177
起因:
我这里不选择关闭上面截图的设置,按照方法继续操作。
1、使用命令查看当前的全局用户E-mail
git config --global user.email
2、找到你github给的推荐E-mail.
在settting里面的Emails。
我的推荐E-mail:23214540+Hitvz@users.noreply.github.com
3、重新设置你的全局用户E-mail
git config --global user.email 你的推荐E-mail
4、重置上次提交的作者信息
git commit --amend --reset-author
输入命令后,进入vi模式,不熟悉的,可以直接在英文输入法下:wq(冒号wq)保存
5、提交
git push
最后给个完整命令截图:
阅读全文
0 0
- git报错-->! [remote rejected] master -> master (push declined due to email privacy restrictions)
- 【转载】git push 报错 remote: error: hook declined to update
- idea直接推送显示Push master to origin/master was rejected by remote,git命令推送 You are not allowed to push co
- git push error report: ! [remote rejected] master -> refs/for/master (no new changes)
- Push to origin/master was rejected (Git提交错误)
- Git Push 错误 [remote rejected] master -> master (branch is currently checked out) & 无法查看push后的git中文件
- Git Push 错误 [remote rejected] master -> master (branch is currently checked out) & 无法查看push后的git中文件(
- GIT提交遇到问题 Push rejected: Push to origin/master was rejected
- Git上传项目提示Push rejected: Push to origin/master was rejected解决办法
- ! [rejected] master -> master (fetch first) error: failed to push some refs to 'git@github.c
- Push rejected: Push to origin/master was rejected
- git push origin master报错,解决方法
- git push -u origin master报错
- git push -u orgin master报错
- 【问题处理】GIT删除主分支报错:[remote rejected] master (deletion of the current branch prohibited)
- Git Push 错误 [remote rejected] master -> master (branch is currently checked out) & 无法查看push后的git中文件(转)
- git 报错 git [rejected] master -> master (fetch first)(non-fast forward) 的解决方法
- git pull 报错:Your configuration specifies to merge with the ref 'master'from the remote
- L26 grep和egrep工具的使用
- 【linux 学习】linux上安装mysql(linut mint)
- 【转载】M4
- MySQL操作表结构
- Reactor5.0源代码混淆器
- git报错-->! [remote rejected] master -> master (push declined due to email privacy restrictions)
- Javaweb项目搭建ehcache缓存系统
- Linux常用命令学习
- Codeforces Educational Codeforces Round 31
- binary-tree-level-order-traversal Java code
- Qt 网络编程-UDP
- 7.Servlet与线程安全
- 罗永浩现身乐视手机发布会,这让人浮想联翩
- 364天后,微信Mac版终于更新