如何从PhpStorm的developer分支中提取更改?

时间:2018-07-24 09:59:19

标签: git version-control phpstorm

我对PhpStorm和Git还是比较陌生。在不离开IDE的情况下,我想将更改从develop分支提取到功能分支。

我已经收集到了 Command-T (在Mac上)显示了“更新项目”对话框,这是我应该使用的对话框。但是在那之后我迷路了,因为我不知道该对话框中显示的任何选项的作用。

在命令行上,我只需键入git fetch,然后键入git pull origin develop。如何使用GUI在这里做等效的事情?

1 个答案:

答案 0 :(得分:2)

You can go to VCS > Git > Pull. Then in Branches to merge you can select develop to merge the develop branch on the one you're currently on.

The best things to do is to set up a keymap on the Pull action to avoid the clicks.

You can also invoke the Pull window by pressing CTRL+Shift+a and writing pull.

Hope it did the job. :)