Skip to content

Commit 8a9f0a0

Browse files
committed
.gitignore .gitattributes
1 parent e775fe5 commit 8a9f0a0

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.gitattributes

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
* text eol=crlf
22

33
# use export-ignore to skip files when downloading
4-
*.gitignore text eol=crlf export-ignore
5-
*.gitattributes text eol=crlf export-ignore
4+
**/.* export-ignore
5+
*.gitignore text eol=crlf
6+
*.gitattributes text eol=crlf

ExampleModTopDirectory/.gitattributes

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,29 @@
11
* text eol=crlf
22

33
# use export-ignore to skip files when downloading
4-
*.gitignore text eol=crlf export-ignore
5-
*.gitattributes text eol=crlf export-ignore
4+
**/.* export-ignore
5+
*.gitignore text eol=crlf
6+
*.gitattributes text eol=crlf
67

78
# Common
89
*.7z binary
910
*.bat text eol=crlf
1011
*.bmp binary
1112
*.command text eol=lf
13+
*.csv text eol=crlf
1214
*.dll binary
1315
*.eff binary
1416
*.exe binary
1517
*.gif binary
16-
*.html text
18+
*.htm[l] text
1719
*.ico binary
1820
*.ini text eol=crlf
1921
*.jpg binary
2022
*.png binary
2123
*.ps1 text eol=crlf
2224
*.sh text eol=lf
2325
*.txt text eol=crlf
26+
*.y[a]ml text eol=crlf
2427

2528
# WeiDU/IE
2629
*.2da text

ExampleModTopDirectory/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ tmp/
99
!/.gitconfig
1010
!/.github
1111
!/.gitignore
12+
!/.gitmodules
1213

1314
*.bak
1415
*.bat

0 commit comments

Comments
 (0)