From d1fe97b90f6df73d4fccc44a00723aa995a2aa3c Mon Sep 17 00:00:00 2001
From: patrick96
Date: Sun, 23 Dec 2018 22:51:42 +0100
Subject: [PATCH] git: Clean up gitignore
Each directory is responsible for ignoring files
---
.gitignore | 5 ++---
doc/.gitignore | 1 +
include/.gitignore | 1 +
3 files changed, 4 insertions(+), 3 deletions(-)
create mode 100644 doc/.gitignore
create mode 100644 include/.gitignore
diff --git a/.gitignore b/.gitignore
index e19097e5..ed0c04d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,9 +1,8 @@
-/build/*
-/doc/config
-/include/settings.hpp
+/build
/polybar
/polybar-msg
/tags
+/compile_commands.json
*.bak
*.pyc
*.swp
diff --git a/doc/.gitignore b/doc/.gitignore
new file mode 100644
index 00000000..04204c7c
--- /dev/null
+++ b/doc/.gitignore
@@ -0,0 +1 @@
+config
diff --git a/include/.gitignore b/include/.gitignore
new file mode 100644
index 00000000..aa09caac
--- /dev/null
+++ b/include/.gitignore
@@ -0,0 +1 @@
+settings.hpp