01 打开IntelliJ IDEA。
02 找到IntelliJ IDEA版本控制中Git, 在File–>Setting–>Version Control–>Git–>Path to Git executable。

Idea使用技巧13--Intellij IDEA如何配置Git?

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

Idea使用技巧13--Intellij IDEA如何配置Git?

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

Idea使用技巧13--Intellij IDEA如何配置Git?

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

Idea使用技巧13--Intellij IDEA如何配置Git?

 

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

Idea使用技巧13--Intellij IDEA如何配置Git?

 

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

Idea使用技巧13--Intellij IDEA如何配置Git?

 

 08 拉取成功后的结果截图。

Idea使用技巧13--Intellij IDEA如何配置Git?

 

 参考文献:https://blog.csdn.net/hyacinth_han/article/details/80481474

相关文章:

  • 2021-08-05
  • 2021-11-22
  • 2021-12-26
  • 2018-01-16
猜你喜欢
  • 2021-12-09
  • 2021-05-02
  • 2021-08-05
  • 2021-10-23
相关资源
相似解决方案