2021-07-12-解决 linux 中使用Git操作windowns内项目有大量修改 (回车、换行) .gitattributes

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# THIS IS ONLY FOR THE gitattributes REPOSITORY.

# Handle line endings automatically for files detected as text

# and leave all files detected as binary untouched.

* text=auto



#

# The above will handle all files NOT found below

#

# These files are text and should be normalized (Convert crlf => lf)

*.gitattributes text

.gitignore text

*.md text



#

# Exclude files from exporting

#



.gitattributes export-ignore

.gitignore export-ignore

2021-07-12-解决 linux 中使用Git操作windowns内项目有大量修改 (回车、换行) .gitattributes

https://blog.buqia.fun/2022/02/17/2021-07-12-解决-linux-中使用Git操作windowns内项目有大量修改-(回车、换行)-gitattributes/

作者

lxmuyu

发布于

2022-02-17

更新于

2022-02-17

许可协议