Advertising

-
An optional prefix "!" which negates the pattern; any matching file
excluded by a previous pattern will become included again. If a negated
pattern matches, this will override lower precedence patterns sources. Put
a backslash ("\") in front of the first "!" for patterns that begin with
a literal "!", for example, "\!important!.txt".
Reference: http://git-scm.com/docs/gitignore#_pattern_format
William Seiti Mizuta
@williammizuta
Caelum | Ensino e Inovação
www.caelum.com.br
On Tue, Oct 22, 2013 at 9:20 AM, Philipp Kraus
<philipp.kr...@flashpixx.de>wrote:
> Hello,
>
> I use my .gitignore to define files which should not store in the history,
> but can I use an invert filter?
> So I would define files, which are only stored in the history. So if I
> write to the (not)ignore file *.cpp all other file except *.cpp are ignored?
>
> So I need the invert / complement definition of gitignore
>
> Thanks
> Phil
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.