【git】idea和git默认换行符号设置

IDEA

File | Settings | Editor | Code Style
【git】idea和git默认换行符号设置_第1张图片

git

LF will be replaced by CRLF the next time Git touches it

# win也使用使用默认的LF作为换行符
# ture 的话会自动转换
git config --global core.autocrlf false

你可能感兴趣的:(git)