#note .gitignore works in a the-last-line-wins fashion. So you exclude stuff you have included after it was excluded. #exclude general (this means nothing included) *.* #include what we need #include general #dbx data !*.dbf !*.cdx !*.fpt !*.dbc !*.dc[tx] #grafics !*.bmp !*.msk !*.ico !*.cdr !*.cur #programms !*.prg !*.fpw #header !*.h #libs (transformed by FoxBin2prg) [still excluded] #!*.vc[xt] #!*.pj[xt] #!*.fr[xt] #!*.mn[xt] #!*.sc[xt] #!*.lb[xt] #include FoxBin2prg related stuff !*.vc2 !*.pj2 !*.fr2 !*.mn2 !*.sc2 !*.lb2 #!*.d[bc]2 #include special #default git !*.gitignore !/desktop.ini #diverse !*.reg !/FoxBin2prg.cfg #exclude special foxuser_9.* _command.prg *ref.* debug*.* Sicherungskopie*.* include/projsub.h #exclude special folders at all default/ temp/ tmp/ bin2txt.* #but include from there because I do need it :( !debuglib.vc2 !debuglib.*.vc2