summaryrefslogtreecommitdiffstats
path: root/.gitignore.d/vcsh
diff options
context:
space:
mode:
Diffstat (limited to '.gitignore.d/vcsh')
-rw-r--r--.gitignore.d/vcsh17
1 files changed, 17 insertions, 0 deletions
diff --git a/.gitignore.d/vcsh b/.gitignore.d/vcsh
new file mode 100644
index 0000000..35d1240
--- /dev/null
+++ b/.gitignore.d/vcsh
@@ -0,0 +1,17 @@
+# Exclude all files
+*
+
+# Include relevant files
+!/.config/
+!/.config/vcsh/
+!/.config/vcsh/config
+!/.config/vcsh/hooks-enabled/
+!/.config/vcsh/hooks-enabled/post-upgrade
+!/.gitignore.d/
+!/.gitignore.d/vcsh
+
+# Exclude swap and backup files
+*.s[a-w]?
+*.vim
+*~
+*.orig