You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are inconsistent line endings across files in the solution, which can lead to changes that are difficult to follow.
This should happen when develop / main branch is stable and there is nothing in flight as it'll touch a lot of files.
Introduce a .gitattributes file and then re-add all files to apply git add --all --renormalize
Suggested gitattr:
# Auto detect text files and perform LF normalization
* text=auto
*.cs text diff=csharp
*.cshtml text diff=html
*.csx text diff=csharp
# Documents
*.md text diff=markdown
*.mdx text diff=markdown
*.tex text diff=tex
*.adoc text
*.textile text
*.mustache text
*.csv text eol=lf
*.tab text
*.tsv text
*.txt text
*.sql text
# Graphics
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.tif binary
*.tiff binary
*.ico binary
# SVG treated as text by default.
*.svg text
# If you want to treat it as binary,
# use the following line instead.
# *.svg binary
*.eps binary
# Scripts
*.bash text eol=lf
*.fish text eol=lf
*.sh text eol=lf
*.zsh text eol=lf
# These are explicitly windows files and should use crlf
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# Serialisation
*.json text
*.toml text
*.xml text
*.yaml text
*.yml text
# Archives
*.7z binary
*.gz binary
*.tar binary
*.tgz binary
*.zip binary
# Text files where line endings should be preserved
*.patch -text
#
# Exclude files from exporting
#
.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore
The text was updated successfully, but these errors were encountered:
There are inconsistent line endings across files in the solution, which can lead to changes that are difficult to follow.
This should happen when
develop
/main
branch is stable and there is nothing in flight as it'll touch a lot of files.Introduce a
.gitattributes
file and then re-add all files to applygit add --all --renormalize
Suggested gitattr:
The text was updated successfully, but these errors were encountered: