IDEA上配置Git

注:此方法可用于配置gitlab也可用于配置github

1.在github中创建一个账号:https://github.com/join?source=header-home

2.下载并安装git:https://git-scm.com/downloads

一路NEXT下去安装完事

3.安装成功后打开Git Bash,输入下列命令,设置git全局用户名和邮箱

4.在IDEA中设置Git,在File-->Setting->Version Control-->Git-->Path to Git executable选择你的git安装后的git.exe文件,然后点击Test,测试是否设置成功

参考:https://www.cnblogs.com/hkgov/p/7694101.html

猜你喜欢

转载自blog.csdn.net/qq_37143673/article/details/85046516