|
1 |
| -# Auto detect text files and perform LF normalization |
| 1 | +# Auto detect text files and perform line endings normalization |
2 | 2 | * text=auto
|
| 3 | +# |
| 4 | +# The above will handle all file extensions NOT defied below. |
| 5 | +# |
3 | 6 |
|
4 |
| -# Custom for Visual Studio |
5 |
| -*.cs diff=csharp |
6 |
| - |
7 |
| -# Standard to msysgit |
8 |
| -*.doc diff=astextplain |
9 |
| -*.DOC diff=astextplain |
10 |
| -*.docx diff=astextplain |
11 |
| -*.DOCX diff=astextplain |
12 |
| -*.dot diff=astextplain |
13 |
| -*.DOT diff=astextplain |
14 |
| -*.pdf diff=astextplain |
15 |
| -*.PDF diff=astextplain |
16 |
| -*.rtf diff=astextplain |
17 |
| -*.RTF diff=astextplain |
| 7 | +# ------------------------------------------------------------------------------------ |
| 8 | +# Basic .gitattributes for a Visual Studio repository |
| 9 | +# https://github.com/gitattributes/gitattributes/blob/2aeb855a6bbfa9138e6ac0218caa90f22148c37c/Global/VisualStudio.gitattributes#L4 |
| 10 | +# ------------------------------------------------------------------------------------ |
| 11 | + |
| 12 | +*.sln text eol=crlf |
| 13 | +*.vcxproj text eol=crlf |
| 14 | +*.vcproj text eol=crlf |
| 15 | +*.dbproj text eol=crlf |
| 16 | +*.fsproj text eol=crlf |
| 17 | +*.lsproj text eol=crlf |
| 18 | +*.wixproj text eol=crlf |
| 19 | +*.modelproj text eol=crlf |
| 20 | +*.sqlproj text eol=crlf |
| 21 | +*.wwaproj text eol=crlf |
| 22 | + |
| 23 | +*.xproj text eol=crlf |
| 24 | +*.props text eol=crlf |
| 25 | +*.filters text eol=crlf |
| 26 | +*.vcxitems text eol=crlf |
| 27 | + |
| 28 | +# ------------------------------------------------------------------------------------ |
| 29 | +# Basic .gitattributes for a C# repository. |
| 30 | +# https://github.com/gitattributes/gitattributes/blob/master/CSharp.gitattributes |
| 31 | +# ------------------------------------------------------------------------------------ |
| 32 | + |
| 33 | +*.cs text diff=csharp |
| 34 | +*.cshtml text diff=html |
| 35 | +*.csx text diff=csharp |
| 36 | +*.csproj text eol=crlf |
| 37 | + |
| 38 | +# ------------------------------------------------------------------------------------ |
| 39 | +# Basic .gitattributes for a VB.NET repository. |
| 40 | +# ------------------------------------------------------------------------------------ |
| 41 | + |
| 42 | +*.vb text diff=vbnet |
| 43 | +*.vbproj text eol=crlf |
| 44 | + |
| 45 | +# ------------------------------------------------------------------------------------ |
| 46 | +# Basic .gitattributes for a PowerShell repository. |
| 47 | +# https://github.com/gitattributes/gitattributes/blob/master/PowerShell.gitattributes |
| 48 | +# ------------------------------------------------------------------------------------ |
| 49 | + |
| 50 | +# Source files |
| 51 | +# ============ |
| 52 | +*.ps1 text eol=crlf |
| 53 | +*.ps1x text eol=crlf |
| 54 | +*.psm1 text eol=crlf |
| 55 | +*.psd1 text eol=crlf |
| 56 | +*.ps1xml text eol=crlf |
| 57 | +*.pssc text eol=crlf |
| 58 | +*.psrc text eol=crlf |
| 59 | +*.cdxml text eol=crlf |
| 60 | + |
| 61 | +# ------------------------------------------------------------------------------------ |
| 62 | +# Basic .gitattributes for a Python repository. |
| 63 | +# https://github.com/gitattributes/gitattributes/blob/master/Python.gitattributes |
| 64 | +# ------------------------------------------------------------------------------------ |
| 65 | + |
| 66 | +# Source files |
| 67 | +# ============ |
| 68 | +*.pxd text diff=python |
| 69 | +*.py text diff=python |
| 70 | +*.py3 text diff=python |
| 71 | +*.pyw text diff=python |
| 72 | +*.pyx text diff=python |
| 73 | +*.pyz text diff=python |
| 74 | +*.pyi text diff=python |
| 75 | + |
| 76 | +# Binary files |
| 77 | +# ============ |
| 78 | +*.db binary |
| 79 | +*.p binary |
| 80 | +*.pkl binary |
| 81 | +*.pickle binary |
| 82 | +*.pyc binary export-ignore |
| 83 | +*.pyo binary export-ignore |
| 84 | +*.pyd binary |
| 85 | + |
| 86 | +# Jupyter notebook |
| 87 | +*.ipynb text eol=lf |
| 88 | + |
| 89 | +# Note: .db, .p, and .pkl files are associated |
| 90 | +# with the python modules ``pickle``, ``dbm.*``, |
| 91 | +# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb`` |
| 92 | +# (among others). |
| 93 | + |
| 94 | +# ------------------------------------------------------------------------------------ |
| 95 | +# Common settings that generally should always be used with your language specific settings |
| 96 | +# https://github.com/gitattributes/gitattributes/blob/master/Common.gitattributes |
| 97 | +# ------------------------------------------------------------------------------------ |
| 98 | + |
| 99 | +# Documents |
| 100 | +*.bibtex text diff=bibtex |
| 101 | +*.doc diff=astextplain |
| 102 | +*.DOC diff=astextplain |
| 103 | +*.docx diff=astextplain |
| 104 | +*.DOCX diff=astextplain |
| 105 | +*.dot diff=astextplain |
| 106 | +*.DOT diff=astextplain |
| 107 | +*.pdf diff=astextplain |
| 108 | +*.PDF diff=astextplain |
| 109 | +*.rtf diff=astextplain |
| 110 | +*.RTF diff=astextplain |
| 111 | +*.md text diff=markdown |
| 112 | +*.mdx text diff=markdown |
| 113 | +*.tex text diff=tex |
| 114 | +*.adoc text |
| 115 | +*.textile text |
| 116 | +*.mustache text |
| 117 | +*.csv text eol=crlf |
| 118 | +*.tab text |
| 119 | +*.tsv text |
| 120 | +*.txt text |
| 121 | +*.sql text |
| 122 | +*.epub diff=astextplain |
| 123 | + |
| 124 | +# Graphics |
| 125 | +*.png binary |
| 126 | +*.jpg binary |
| 127 | +*.jpeg binary |
| 128 | +*.gif binary |
| 129 | +*.tif binary |
| 130 | +*.tiff binary |
| 131 | +*.ico binary |
| 132 | +# SVG treated as text by default. |
| 133 | +*.svg text |
| 134 | +# If you want to treat it as binary, |
| 135 | +# use the following line instead. |
| 136 | +# *.svg binary |
| 137 | +*.eps binary |
| 138 | + |
| 139 | +# Scripts |
| 140 | +*.bash text eol=lf |
| 141 | +*.fish text eol=lf |
| 142 | +*.ksh text eol=lf |
| 143 | +*.sh text eol=lf |
| 144 | +*.zsh text eol=lf |
| 145 | +# These are explicitly windows files and should use crlf |
| 146 | +*.bat text eol=crlf |
| 147 | +*.cmd text eol=crlf |
| 148 | +*.ps1 text eol=crlf |
| 149 | + |
| 150 | +# Serialisation |
| 151 | +*.json text |
| 152 | +*.toml text |
| 153 | +*.xml text |
| 154 | +*.yaml text |
| 155 | +*.yml text |
| 156 | + |
| 157 | +# Archives |
| 158 | +*.7z binary |
| 159 | +*.gz binary |
| 160 | +*.tar binary |
| 161 | +*.tgz binary |
| 162 | +*.zip binary |
| 163 | + |
| 164 | +# Text files where line endings should be preserved |
| 165 | +*.patch -text |
| 166 | + |
| 167 | +# |
| 168 | +# Exclude files from exporting |
| 169 | +# |
| 170 | + |
| 171 | +.gitattributes export-ignore |
| 172 | +.gitignore export-ignore |
| 173 | +.gitkeep export-ignore |
0 commit comments