1.在github上设置好token 把生成的Token复制到IDEA登录github页面上,登录成功(用户名密码登录方式已经被弃用) 打开share project on github窗口就可以正常上传了。