mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-23 01:06:44 -06: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
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
*.go text
|
||||
*.md text eol=lf
|
||||
*.json text eol=lf
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,6 +19,7 @@ lazygit.exe
|
||||
|
||||
# Exceptions
|
||||
!.gitignore
|
||||
!.gitattributes
|
||||
!.goreleaser.yml
|
||||
!.golangci.yml
|
||||
!.circleci/
|
||||
|
Loading…
Reference in New Issue
Block a user