Skip to content

Commit

Permalink
.gitattributes: add
Browse files Browse the repository at this point in the history
Force UNIX-style line endings for go files.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
  • Loading branch information
kolyshkin committed Nov 3, 2021
1 parent b016007 commit f0fb439
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Default
* text=auto

# Go files should always have UNIX-style line endings
# (see e.g. https://github.com/golang/go/issues/16355)
*.go text eol=lf

0 comments on commit f0fb439

Please sign in to comment.