Thanks greate, works well
Am Dienstag, 22. Oktober 2013 16:43:07 UTC+2 schrieb Dale Worley:
>
> You write something like this:
>
> *
> !*.cpp
>
> The first rule means that all files are to be ignored. (You might
> have to add ".*", I forget whether an initial "." is matched by "*".)
> From: Philipp Kraus
>
> 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
Hi Philipp,
you can put the character "!" to negate the pattern:
-
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
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