1.打开IntelliJ IDEA。
2.找到IntelliJ IDEA版本控制中Git, 在File-->Setting-->Version Control-->Git-->Path to Git executable。

3.在Git的安装路径下找到cmd文件夹下的git.exe,到此Git配置已完成。

4.检查Git在IntelliJ IDEA中是否配置成功,点击“Test”,如下图表示配置成功。

5.拉取Git代码,在File-->New->Project from Version Control-->Git。

6.输入要拉取的URL并点击clone。

7.选择This Window后打开拉取的项目代码。

8.拉取成功后的结果截图。

网友评论