文章目录
一、idea上传项目到github
1.首先下载git,地址:https://git-scm.com/download
2.安装成功后打开git Bash,输入下列命令,设置git全局用户名和邮箱。
$ git config --global user.name “Your Name”
$ git config --global user.email “email@example.com”
3.在idea中设置git,File–>Setting–>Version Control–>Git–>Path to Git executable,选择你的git安装后的git.exe文件,然后点击Test,测试是否设置成功。