mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-11 12:29:03 +00:00
chore[idea]: update git newline and case-sensitivity settings
This commit is contained in:
1 parent
d24ad14337
commit
2ac44c8b39
1 file changed
+7
-2
@@ -25,13 +25,18 @@ git config --global http.proxy http://127.0.0.1:10809
|
||||
git config --global https.proxy https://127.0.0.1:10809
|
||||
```
|
||||
|
||||
- 换行符
|
||||
- 换行符,提交时转换为LF,检出时不转换,强烈推荐设置,可以减少不同电脑和不同系统之间切换,导致换行符不统一的问题
|
||||
|
||||
```
|
||||
提交时转换为LF,检出时不转换,强烈推荐设置,可以减少不同电脑和不同系统之间切换,导致换行符不统一的问题
|
||||
git config --global core.autocrlf input
|
||||
```
|
||||
|
||||
- 大小写,默认abc.gd 和 Abc.gd 被认为是同一个文件,在Linux上就会容易出问题,所以给它关闭
|
||||
|
||||
```
|
||||
core.ignorecase = false
|
||||
```
|
||||
|
||||
- idea git log 不同颜色
|
||||
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user