summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Perez de Castro2019-08-09 15:24:20 +0300
committerAdrian Perez de Castro2019-08-09 15:24:20 +0300
commit77fc57466958bc89f4ed2bae5ad40543c5f9e2d3 (patch)
tree51acf383bfc491fd343d59cd50c044ccb8696e7e
parent2fee68f47fb14184001d330e72e02c698e1e55d9 (diff)
downloadaur-77fc57466958bc89f4ed2bae5ad40543c5f9e2d3.tar.gz
Invert .gitignore matches
Instead of matching files to ignore, ignore all and then exclude the few files which need to be tracked in version control.
-rw-r--r--.gitignore10
1 files changed, 4 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 187d506a0bd0..218620e2fb38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,4 @@
-/wlroots-git/
-/pkg/
-/src/
-/*.log
-/*.pkg.tar
-/*.pkg.tar.*
+*
+!/PKGBUILD
+!/.SRCINFO
+!/.gitignore