Debian Codegraph @

.gitattributes

raw
1 # Autodetect text files
2 #
3 # In addition:
4 # Windows developers should set:
5 # git config --global core.autocrlf true
6 # UNIX / MacOS develoers should set:
7 # git config --global core.autocrlf input
8 * text=auto
9
10 #
11 # And configure default EOL terminators for various text types
12 #
13
14 # Explicitly declare text files you want to always be normalized and converted
15 # to native line endings on checkout.
16 *.java text
17 *.properties text
18 *.xml text
19 *.xsd text
20 *.dtd text
21 *.MF text
22 *.md text
23 *.html text
24 *.tld text
25 *.json text
26
27 # Declare files that will always have CRLF line endings on checkout.
28 *.cmd text eol=crlf
29 *.bat text eol=crlf
30 # Because *nix editors / paginators can handle either way, but braindead
31 # Windoze notepad which is used by default to handle text files in Windows,
32 # not so much, we also make the concession here to use CRLF for EOL.
33 *.txt text eol=crlf
34 # Ditto for Eclipse related preferences
35 *.prefs text eol=crlf
36
37 # Declare files that will always have LF line endings on checkout
38 *.sh text eol=lf
39 *.bsh text eol=lf
40 *.ksh text eol=lf
41
42 # Eclipse stuff
43 .settings/* text eol=crlf
44 .classpath text eol=crlf
45 .project text eol=crlf
46
47 # Miscellaneous text
48 .gitattributes text eol=lf
49 .gitignore text eol=lf
50 *.MF text eol=crlf
51 LICENSE text eol=crlf
52 LICENSE-CONTENT text eol=crlf
53 LICENSE-README text eol=crlf
54
55
56 # Denote all files that are truly binary and should not be modified,
57 # or simply replaced in whole if committed.
58 *.jpg binary
59 *.JPG binary
60 *.png binary
61 *.jks binary
62 *.ser binary
63 *.doc binary
64 *.docx binary
65 *.xls binary
66 *.xlsx binary
67 *.pptx binary
68 *.odt binary
69 *.pdf binary
70 *.zip binary
71 *.jar binary
72 *.war binary
73 *.ear binary
74 *.7z binary
75 *.rar binary
76 *.tgz binary
77 *.tar binary