章节 ▾ 第二版

A1.4 附录 A:其他环境中的 Git - IntelliJ / PyCharm / WebStorm / PhpStorm / RubyMine 中的 Git

IntelliJ / PyCharm / WebStorm / PhpStorm / RubyMine 中的 Git

JetBrains IDE(例如 IntelliJ IDEA、PyCharm、WebStorm、PhpStorm、RubyMine 等)内置了 Git 集成插件。它在 IDE 中提供了一个专用的视图来处理 Git 和 GitHub Pull Requests。

Version Control ToolWindow in JetBrains IDEs
图 183. JetBrains IDE 中的版本控制工具窗口

此集成依赖于命令行 Git 客户端,需要安装一个。官方文档可在 https://www.jetbrains.com/help/idea/using-git-integration.html 获取。