Skip to content

Commit 30ff03e

Browse files
committed
Setting up to canonicalize EOL in the repo (.gitattributes) and ignore various kinds of files (.gitignore)
1 parent d2ea350 commit 30ff03e

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.gitattributes

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Set default behaviour, in case users don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files we want to always be normalized and converted
5+
# to native line endings on checkout.
6+
*.pg text
7+
*.pl text
8+
*.txt text
9+
*.htm text
10+
*.html text
11+
*.log text
12+
*.LOG text
13+
14+
# Declare files that will always have CRLF line endings on checkout.
15+
*.sln text eol=crlf
16+
17+
# Denote all files that are truly binary and should not be modified.
18+
*.png binary
19+
*.jpg binary
20+
*.gifjpg binary

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
*~
12
blib/
23
.build/
34
_build/

0 commit comments

Comments
 (0)