经常有些项目没有git,修改完使用最笨的ftp工具,找到文件去覆盖。。。痛苦。。以前用过phpstorm这个软件中的ftp自动同步功能,感觉棒棒哒。今天找了好久没找到在哪里自动同步。再次记录下,省的下次再忘了。。。
1.在phpstorm导航栏中找到tools -> deployment -> configuration

2.新建个ftp连接
3.填写host、port、修改root path、填写用户名密码 测试连接

4.点击advanced options... 勾选第一个passive mode
5.选择 retrieve accurate files timestamps 为awlays
6.配置Mappings (特别是deployment path on server)

7.保存后 点击导航栏tools->deployment->automatic upload (always)
网友评论