diff --git a/.gitignore b/.gitignore index 958f644eee9..287be809543 100644 --- a/.gitignore +++ b/.gitignore @@ -2,13 +2,18 @@ *.swp *~ \#*# -*.o -masterdir* -hostdir* -masterdir*/ -hostdir*/ + +# exclude everything in root except files and directories from void-packages +/* +!/CONTRIBUTING.md +!/COPYING +!/Manual.md +!/README.md +!/common +!/etc +!/srcpkgs +!/xbps-src etc/conf etc/conf.* etc/virtual etc/xbps.d/custom -.xbps-checkvers*.plist