章节 ▾ 第二版

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 查阅。