mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Add .gitattributes file
This tells git to checkout all .md and .json files with Unix line feeds, even on Windows. This shouldn't be a problem for working with these files on Windows, as all modern text editors and IDEs should be capable of editing Unix files transparently; but it makes it possible to run `go generate ./...` on Windows, which assumes Unix line feeds in a few places.
This commit is contained in:
parent
94a1c27916
commit
61313e5dfa
2 changed files with 4 additions and 0 deletions
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
*.go text
|
||||
*.md text eol=lf
|
||||
*.json text eol=lf
|
Loading…
Add table
Add a link
Reference in a new issue