Skip to content

Commit

Permalink
chore(git): Fix line endings in text files (#4320)
Browse files Browse the repository at this point in the history
Although we said on #4315 to add just a comment in the CONTRIBUTING.md file. I think this solution will be better for the repository's health.

We could also apply this for `*.js` but it's up to you.

This is what I needed to run after I added this file:
```
git rm --cached -r .
git reset --hard
```

Fixes #4315
  • Loading branch information
kblok authored and aslushnikov committed Apr 22, 2019
1 parent 770411b commit 2d53651
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Declare files that will always have LF line endings on checkout.
*.txt eol=lf

0 comments on commit 2d53651

Please sign in to comment.