Blogger Information
Blog 77
fans 0
comment 2
visits 55953
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
WebStorm 配合 Cmder 或 Git Bash
南瓜又个梦
Original
1189 people have browsed it

Git Bash和Cmder(命令行形式的浏览器)是在项目中会用到的东西,如果开发环境不配置好的话,一些关于git的操作就会有问题,所以在一开始就要配置好。

配置终端

1,打开设置,进入 Tools => Terminal
2,将 Shell Path 改为你的 bash.exe 的绝对路径,比如我的路径是 C:\自己找路径\cmder\vendor\git-for-windows\bin\bash.exe,如下图(如果找不对路径,可以使用 everything 软件搜索 bash.exe,从搜索结果里找和我的路径近似的)

配置 git

1,打开设置,进入 Version Control => Git
2,将 Path to Git 改为 git.exe 的绝对路径,比如我的路径是 C:\请自己找到对应的目录\cmder\vendor\git-for-windows\bin\git.exe,如下图

配置完可能会报错,关掉webstrom再打开就好了

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post