From 3f5ca8b27e161017283bfa6a562e6f722c828fa7 Mon Sep 17 00:00:00 2001 From: Mario Rosell Rabinal Date: Sat, 24 Jan 2026 20:21:53 +0100 Subject: Add git stuff To force LF and to not clutter diffs with binary data. Also ignored some stuff you do not want :P. --- .gitattributes | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .gitignore | 18 ++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..0b834ea --- /dev/null +++ b/.gitattributes @@ -0,0 +1,56 @@ +# text +* text=auto + +# sources +*.c text diff eol=lf +*.h text diff eol=lf +*.i text diff eol=lf +*.s text diff eol=lf +*.S text diff eol=lf + +mkfile text diff eol=lf +makefile text diff eol=lf +Makefile text diff eol=lf + +*.sh text diff eol=lf +*.py text diff eol=lf +*.pl text diff eol=lf +*.rc text diff eol=lf +*.go text diff eol=lf + +# docs +*.1 text diff eol=lf +*.2 text diff eol=lf +*.3 text diff eol=lf +*.4 text diff eol=lf +*.5 text diff eol=lf +*.6 text diff eol=lf +*.7 text diff eol=lf +*.8 text diff eol=lf + +*.tr text diff eol=lf + +# binaries +*.6o binary +*.8o binary +*.a binary +*.so binary +*.dll binary +*.exe binary +*.lib binary +*.elf binary +*.iso binary +*.img binary + +# images +*.ico +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.pdf binary + +# extra stuff +*.ini text diff eol=lf +.gitkeep text + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e01f2c0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +*.6o +*.8o +*.elf +*.iso +*.img +.DS_Store +thumbs.db +rcpy/ +.idea/ +.vscode/ +.kate-swp +*.swp +*.swo +*~ +\# +*.tmp +\#* +\#*# -- cgit v1.2.3