From 6df64495e3108c838ccd1bce733f109e2f013680 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Wed, 22 May 2019 11:14:26 +0800 Subject: [PATCH] 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 --- .gitattributes | 1 + .gitignore | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fcadb2c --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text eol=lf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..104fb62 --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +.obj/ +.swp +.swo +*~ +*.bin +*.dfu +*.ihex +*.elf +.vscode/ +build/ +__pycache__/ +.env