章节 ▾ 第二版

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