Skip to content

Commit 2ac44c8

Browse files
committed
chore[idea]: update git newline and case-sensitivity settings
1 parent d24ad14 commit 2ac44c8

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

doc/idea/idea-set-up.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,18 @@ git config --global http.proxy http://127.0.0.1:10809
2525
git config --global https.proxy https://127.0.0.1:10809
2626
```
2727

28-
- 换行符
28+
- 换行符,提交时转换为LF,检出时不转换,强烈推荐设置,可以减少不同电脑和不同系统之间切换,导致换行符不统一的问题
2929

3030
```
31-
提交时转换为LF,检出时不转换,强烈推荐设置,可以减少不同电脑和不同系统之间切换,导致换行符不统一的问题
3231
git config --global core.autocrlf input
3332
```
3433

34+
- 大小写,默认abc.gd 和 Abc.gd 被认为是同一个文件,在Linux上就会容易出问题,所以给它关闭
35+
36+
```
37+
core.ignorecase = false
38+
```
39+
3540
- idea git log 不同颜色
3641

3742
```

0 commit comments

Comments
 (0)