diff options
| author | Marat Radchenko <marat@slonopotamus.org> | 2020-01-27 23:28:05 +0300 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2020-01-27 13:28:05 -0700 |
| commit | 4bec0c325ff61de89fdcb84a3a23d773b9a12727 (patch) | |
| tree | a69393c6df0a1e2423fbd45381d815a3637e050c /.gitattributes | |
| parent | 7ce5d9dd03af6e08912f321da6df23bd1bf9ecfd (diff) | |
Disable automatic EOL on git for Windows (PR #1523)
Git for Windows performs automatic LF->CRLF conversion for text files by default [1] when checking out the files to the worktree. This file disables that behavior.
[1]: https://github.com/git-for-windows/build-extra/blob/master/git-extra/git-extra.install#L9
Diffstat (limited to '.gitattributes')
| -rw-r--r-- | .gitattributes | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..bc83b5af --- /dev/null +++ b/.gitattributes @@ -0,0 +1,7 @@ +/*file eol=lf +/bin/* eol=lf +*.adoc eol=lf +*.pdf -text +*.rb eol=lf +*.svg eol=lf +*.yml eol=lf |
