gpt4 book ai didi

git - 如何在 IntelliJ IDEA 中审查 pull 请求?

转载 作者:IT王子 更新时间:2023-10-29 00:55:00 45 4
gpt4 key购买 nike

我们正在使用 git、Bitbucket 和 IntelliJ IDEA。该项目主要使用 Java 和 Groovy 编写。

是否有直接从 IntelliJ 审查 pull 请求的好方法?

最佳答案

最新信息(2021 年 3 月)

现在,IntelliJ 2020.2 fully supports reviewing Pull Requests .

Preview of the feature

访问功能

您可以导航至:主菜单 > VCS > Git > 查看 pull 请求

Access from top-menu

或者它可能位于您左侧的“侧边菜单”(这里是从顶部数第三个选项):

Access from side-menu

更多信息

它似乎主要是 GitHub ( source ) 的集成:

Now the entire GitHub pull request workflow can be done directly from IntelliJ IDEA. It’s possible to browse, assign, manage, and even merge pull requests, view the timeline and inline comments, submit comments and reviews, and accept changes.

可在 here 中找到对引入的所有 VCS 相关功能的更深入描述。 :

Full GitHub Pull Requests support

We are excited to announce that IntelliJ IDEA 2020.2 will come with full support for GitHub Pull Requests!

We introduced initial support for GitHub Pull Requests with v2018.3, and we’ve been enhancing this functionality ever since. Previously, the IDE had some useful features, such as the GitHub tool window with a list of all pull requests associated with the repository, the Timeline view for a pull request, which opens in the editor, and the ability to view comments in diffs and create comments of your own. But those features were mostly for viewing pull requests and not for interacting with them.

With the upcoming IntelliJ IDEA 2020.2, you’ll be able to browse, assign, manage, and even merge pull requests, view the timeline and in-line comments, submit comments and reviews, and accept changes.

You no longer need to switch between the browser and your IDE. The entire Pull Request workflow can now be completed from within IntelliJ IDEA!

更多预览

还有两个关于 Review 和 Merge 的先睹为快:

Preview #2

Preview #3


创建 PR

此外,as of 2021.1 ,您也可以创建 pull 请求:

creating a PR

关于git - 如何在 IntelliJ IDEA 中审查 pull 请求?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40217494/

45 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com