使用git push到Github网站的时候提示:
git push
push declined due to email privacy restrictions
在Github设置里有一个隐私选项
Block command line pushes that expose my email
所以如果本地的git config里email地址与Github账号相同,为了防止个人邮件地件泄漏,git push会被拒绝。
git config