一、Version Control 面板

怎么打开WebStorm的Version Control面板:

 WebStorm 2018.2.3 x64 的操作Git

输入Version Control,然后按回车。 

WebStorm 2018.2.3 x64 的操作Git

WebStorm 2018.2.3 x64 的操作Git

WebStorm 2018.2.3 x64 的操作Git

WebStorm 2018.2.3 x64 的操作Git

WebStorm 2018.2.3 x64 的操作Git

快捷按钮:

 WebStorm 2018.2.3 x64 的操作Git

其中点击Show Diff(显示差异,显示不同) 的快捷键时,会出现如下界面:

WebStorm 2018.2.3 x64 的操作Git

其中点击Preview Diff(预览差异,预览更改的地方),会出现以下界面:

WebStorm 2018.2.3 x64 的操作Git

 

二、顶部的快捷按钮 

1、更新内容

WebStorm 2018.2.3 x64 的操作Git

会出现以下界面:

WebStorm 2018.2.3 x64 的操作Git

参考如下配置:

WebStorm 2018.2.3 x64 的操作Git

WebStorm 2018.2.3 x64 的操作Git

 

三、点击了Show Diff面板中的箭头

比如:对2019-02-23.html文件做了修改。 

WebStorm 2018.2.3 x64 的操作Git 

在Show Diff面板中,会出现 >> 这个符号,意思是让本地的代码变的和线上的代码一样。 

WebStorm 2018.2.3 x64 的操作Git 

点击了之后。

 WebStorm 2018.2.3 x64 的操作Git

 WebStorm 2018.2.3 x64 的操作Git

然后,2019-02-23.html文件的代码,就和线上的代码一样了。

 

 

相关文章:

  • 2022-12-23
  • 2021-07-19
  • 2021-08-20
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
猜你喜欢
  • 2021-09-30
  • 2021-09-21
  • 2021-04-02
  • 2021-06-29
  • 2021-05-11
  • 2021-08-28
  • 2021-12-29
相关资源
相似解决方案