Debian Codegraph @

.gitattributes

raw
1 #
2 # File type specific Git settings
3 # ===============================
4 #
5
6
7 # Default
8 # -------
9 # If a file doesn’t match anything below, fall back to autodetection.
10 # <http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/>.
11 * text=auto
12
13
14 # Text files
15 # ----------
16 # Always perform CRLF → LF normalization on these.
17
18 # * Source code
19 *.js text
20 *.sh text
21 *.fish text
22
23 # * Docs
24 *.md text
25
26 # * Config and data files
27 *.json text
28 *.{yml,yaml} text
29 .editorconfig text
30 .gitattributes text
31 .gitignore text
32 .jscsrc text
33 .jshintignore text
34 .jshintrc text
35 .npmignore text
36
37 # * Web stuff
38 *.html text
39 *.svg text
40 *.mustache text
41
42 # * Other text files
43 *.csv text
44 *.xml text
45
46
47 # Smart diffs
48 # -----------
49 # Show approximate diffs for binary files by converting them to plain text.
50
51 # * Show PDF and *MS Office* documents as text
52 # – if you’re not on *Git Bash*, put this into your .gitconfig:
53 # [diff "astextplain"]
54 # textconv = pdf2txt
55 # binary = true
56 *.pdf diff=astextplain
57 *.doc diff=astextplain
58 *.docx diff=astextplain
59 *.dot diff=astextplain
60 *.rtf diff=astextplain
61
62 # * Show ODF documents as text
63 # – install *odt2txt* and put this into your .gitconfig:
64 # [diff "odf"]
65 # textconv=odt2txt
66 # binary = true
67 .odt diff=odf
68 .ods diff=odf
69 .odp diff=odf
70 .odb diff=odf
71 .odg diff=odf
72 .odf diff=odf
73
74 # * Show EXIF data from JPEG images
75 # – install *exif* and put this into your .gitconfig:
76 # [diff "jpg"]
77 # textconv = exif
78 # binary = true
79 *.{jpg,jpeg} diff=exif
80
81
82 # Plain binary files
83 # ------------------
84 # Just treat them as blobs.
85
86 # * Binary image formats
87 *.png binary
88 *.gif binary
89 *.xcf binary
90 *.ico binary
91 *.psd binary
92 *.ai binary
93 *.sketch binary
94
95 # * Video and audio files
96 *.mov binary
97 *.mp4 binary
98 *.mp3 binary
99 *.flv binary
100 *.fla binary
101 *.swf binary
102
103 # * Archives
104 *.gz binary
105 *.zip binary
106 *.7z binary
107 *.tar binary
108 *.rar binary
109
110 # * Fonts
111 *.ttf binary
112 *.otf binary