summaryrefslogtreecommitdiffstats
path: root/.gitignore.d
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-09-02 15:01:45 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-09-02 16:10:38 (EDT)
commit5b7ce6cee1ef714c2cfe6ff505ad540a3ad24031 (patch)
treeccd7a64a933998d51cc59d5c0c6d9c5877da1e2a /.gitignore.d
downloadopenttd-5b7ce6cee1ef714c2cfe6ff505ad540a3ad24031.zip
openttd-5b7ce6cee1ef714c2cfe6ff505ad540a3ad24031.tar.gz
openttd-5b7ce6cee1ef714c2cfe6ff505ad540a3ad24031.tar.bz2
Initial commit
Diffstat (limited to '.gitignore.d')
-rw-r--r--.gitignore.d/openttd21
1 files changed, 21 insertions, 0 deletions
diff --git a/.gitignore.d/openttd b/.gitignore.d/openttd
new file mode 100644
index 0000000..f9ed1e4
--- /dev/null
+++ b/.gitignore.d/openttd
@@ -0,0 +1,21 @@
+# Exclude all files
+*
+
+# Include relevant files
+!/.config/
+!/.config/openttd/
+!/.config/openttd/*.cfg
+
+# Include Git attributes, config, and excludes files
+!/.gitattributes.d/
+!/.gitattributes.d/openttd
+!/.gitconfig.d/
+!/.gitconfig.d/openttd
+!/.gitignore.d/
+!/.gitignore.d/openttd
+
+# Exclude swap and backup files
+*.s[a-w]?
+*.vim
+*~
+*.orig