2014-12-30 0:57 GMT+01:00 SpinFlo firstname.lastname@example.org:
2014-12-30 0:52 GMT+01:00 SpinFlo email@example.com:
or exist a method to use white list (only files/directory allowed) instead of blacklist (list of exclude dirs/files)
oh, i fount it: http://stackoverflow.com/questions/15288712/gitignore-whitelist-on-directory...
ok i tried test with a .gitignore (do'h, 'git add *' don't work again. but use 'git add .gitignore' works :/) with this content:
* !.gitignore !.SRCINFO !PKGBUILD !somefile.desktop !somefile.patch !someimage.png !sometextfile.ext
then added the package sources and dozens of files. 'git add *' says that files are ignored, included the src/pkg dirs(and contents)
i'm sure this is a best chice to avoid the duplicate local repos (one to work, and other to clean push)