[aur-general] AUR 4.0.0 pre-alpha
SpinFlo
sl1pkn07 at gmail.com
Tue Dec 30 01:14:31 UTC 2014
2014-12-30 0:57 GMT+01:00 SpinFlo <sl1pkn07 at gmail.com>:
> 2014-12-30 0:52 GMT+01:00 SpinFlo <sl1pkn07 at gmail.com>:
>
>> or exist a method to use white list (only files/directory allowed)
>> instead of blacklist (list of exclude dirs/files)
>>
>> greetings
>>
>
> oh, i fount it:
> http://stackoverflow.com/questions/15288712/gitignore-whitelist-on-directory-and-its-contents
>
> greetings
>
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)
greetings
More information about the aur-general
mailing list