gitignored everything, but targets
authorCian Bagshaw <cian@cianb.xyz>
Wed, 15 Feb 2023 19:38:59 +0000 (19:38 +0000)
committerCian Bagshaw <cian@cianb.xyz>
Wed, 15 Feb 2023 19:38:59 +0000 (19:38 +0000)
Re-wrote the .gitignore file in the project root, as to ignore everything but
the specified config files. Previously I had to manually ignore everything I
didn't want, which was burdensome, and varied across systems.

.gitignore [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..d509783
--- /dev/null
@@ -0,0 +1,9 @@
+# ignore everything
+/*
+
+# except
+!.config/
+!.local/bin/
+!.bashrc
+!.profile
+!.gitignore