美文网首页
windows开发注意事项

windows开发注意事项

作者: taobao | 来源:发表于2021-12-13 09:52 被阅读0次

1:phpstrom设置编码utf-8;
2:Editor > Code Style > Line separator 设置为\n
3:git设置

# windows推荐core.autocrlf为input
git config --global core.autocrlf input #禁止转换
true: 提交时转换为 LF,检出时转换为 CRLF
false: 提交检出均不转换
input: 提交时转换为LF,检出时不转换

git config --global core.safecrlf true # 拒绝提交包含混合换行符的文件
git config --global core.safecrlf false #允许混合提交
git config --global core.safecrlf warn # 发出警告

# 配置有多个,查看配置生效位置
git config -l --show-origin 

4:centos虚拟机、docker虚拟机,注意配置转发

vim /etc/sysctl.conf
# 添加
net.ipv4.ip_forward=1

相关文章

网友评论

      本文标题:windows开发注意事项

      本文链接:https://www.haomeiwen.com/subject/hdtbtrtx.html