git: add attributes and ignore

We've had a lot of trouble with differing line endings.  Add a
gitattributes file to force Unix-style line endings.

Additionally, add various well-known extensions to a gitignore file.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
2019-05-22 11:14:26 +08:00
parent 1b5fd89699
commit 6df64495e3
2 changed files with 13 additions and 0 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* text eol=lf