Skip to content

Commit f1f4eed

Browse files
committed
Adding gitattributes file for managing line ending conversions
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent dce708d commit f1f4eed

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.gitattributes

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout.
6+
*.c text
7+
*.cpp text
8+
*.h text
9+
*.s text
10+
*.S text
11+
*.ld text
12+
*.txt text
13+
*.xml text
14+
*.py text
15+
*.md text
16+
*.json text
17+
18+
# Denote all files that are truly binary and should not be modified.
19+
*.png binary
20+
*.jpg binary

0 commit comments

Comments
 (0)