intelliJ IDEA推送代码到github失败,提示需要验证用户名和邮箱

下面的这两行命令就是设置用户名和email:

进入源代码所在目录,右键点git bash,输入命令

$ git config --global user.name author #将用户名设为author
$ git config --global user.email [email protected] #将用户邮箱设为[email protected]

猜你喜欢

转载自blog.csdn.net/qq_35447918/article/details/79721982