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.
This commit is contained in:
Adrian Perez de Castro 2019-08-09 15:24:20 +03:00
parent 2fee68f47f
commit 77fc574669
No known key found for this signature in database
GPG Key ID: 91C559DBE4C9123B
1 changed files with 4 additions and 6 deletions

10
.gitignore vendored
View File

@ -1,6 +1,4 @@
/wlroots-git/
/pkg/
/src/
/*.log
/*.pkg.tar
/*.pkg.tar.*
*
!/PKGBUILD
!/.SRCINFO
!/.gitignore