59 строки
2.4 KiB
Plaintext
59 строки
2.4 KiB
Plaintext
# Uncomment each section to enable it.
|
|
# See the following link for more details
|
|
# https://git-scm.com/docs/gitattributes
|
|
|
|
###############################################################################
|
|
# Set default behavior to automatically normalize line endings.
|
|
# This ensures that all files that git considers to be text will have normalized (LF) line endings in the repository.
|
|
# The core.eol configuration variable controls which line endings git will use for normalized files in your working directory;
|
|
# the default is to use the native line ending for your platform, or CRLF if core.autocrlf is set.
|
|
###############################################################################
|
|
* text=auto
|
|
|
|
###############################################################################
|
|
# Denote files that will always have CRLF line endings
|
|
# While git normally leaves file contents alone, it can be configured to normalize line endings when files are checked out.
|
|
###############################################################################
|
|
|
|
## Basic file types
|
|
# *.xml text eol=crlf
|
|
# *.txt text eol=crlf
|
|
|
|
## Visual Studio file types
|
|
# *.sln text eol=crlf
|
|
# *.csproj text eol=crlf
|
|
# *.vbproj text eol=crlf
|
|
# *.fsproj text eol=crlf
|
|
# *.dbproj text eol=crlf
|
|
# *.vcxproj text eol=crlf
|
|
# *.vcxitems text eol=crlf
|
|
# *.props text eol=crlf
|
|
# *.filters text eol=crlf
|
|
# *.h text eol=crlf
|
|
# *.c text eol=crlf
|
|
# *.cpp text eol=crlf
|
|
# *.cs text eol=crlf
|
|
# *.vb text eol=crlf
|
|
|
|
## PowerShell file types
|
|
# *.ps1 text eol=crlf
|
|
# *.psm1 text eol=crlf
|
|
# *.psd1 text eol=crlf
|
|
# *.psc1 text eol=crlf
|
|
# *.ps1xml text eol=crlf
|
|
# *.clixml text eol=crlf
|
|
|
|
## Denote all files that are truly binary and should not be modified.
|
|
# *.png binary
|
|
# *.jpg binary
|
|
# *.dll binary
|
|
# *.exe binary
|
|
|
|
###############################################################################
|
|
# Set default behavior for command prompt diff.
|
|
# It can tell git whether to generate a textual patch for the path or to treat the path as a binary file. It can also affect what line is shown on the hunk
|
|
# header @@ -k,l +n,m @@ line, tell git to use an external command to generate the diff, or ask git to convert binary files to a text format before generating the diff.
|
|
# Note: This is only used by command line
|
|
##############################################################################
|
|
|
|
# *.cs diff=csharp |