On Thu, Oct 10, 2013 at 09:59:38AM +0200, Karsten Blees wrote:
> > On Mon, Oct 07, 2013 at 07:24:11AM -0400, Jeff King wrote:
> >> However, one thing I expected to work but didn't is:
> >>
> >> echo '*' >.gitignore
> >> echo '!*' >my_dir/.gitignore
> >>
> >> That _does_ work for attributes,
> On Mon, Oct 07, 2013 at 07:24:11AM -0400, Jeff King wrote:
>> However, one thing I expected to work but didn't is:
>>
>> echo '*' >.gitignore
>> echo '!*' >my_dir/.gitignore
>>
>> That _does_ work for attributes, like:
>>
>> echo '* foo=one' >.gitattributes
>> echo '* foo=two' >my_dir/
> On Mon, Oct 7, 2013 at 5:23 AM, AJ wrote:
>> I'm hoping to get the following feature implemented into git.
>>
>> Add the ability to recursively include using:
>> !/my_dir/**/*
>
>
> You can do that since v1.8.2. Actually the pattern should be
>
> !/my_dir/**
>
Another solution to include ju
On Mon, Oct 07, 2013 at 07:24:11AM -0400, Jeff King wrote:
> However, one thing I expected to work but didn't is:
>
> echo '*' >.gitignore
> echo '!*' >my_dir/.gitignore
>
> That _does_ work for attributes, like:
>
> echo '* foo=one' >.gitattributes
> echo '* foo=two' >my_dir/.gitattribu
On Mon, Oct 07, 2013 at 05:26:17PM +0700, Nguyen Thai Ngoc Duy wrote:
> On Mon, Oct 7, 2013 at 5:23 AM, AJ wrote:
> > I'm hoping to get the following feature implemented into git.
> >
> > Add the ability to recursively include using:
> > !/my_dir/**/*
>
> You can do that since v1.8.2. Actually t
On Mon, Oct 7, 2013 at 5:23 AM, AJ wrote:
> I'm hoping to get the following feature implemented into git.
>
> Add the ability to recursively include using:
> !/my_dir/**/*
You can do that since v1.8.2. Actually the pattern should be
!/my_dir/**
Checkout gitignore man page for more information.
I'm hoping to get the following feature implemented into git.
Add the ability to recursively include using:
!/my_dir/**/*
Currently, in order to include a directory with multiple sub-directories
within a excluded directory, you must do the following:
!/my_dir/
!/my_dir/*
!/my_dir/*/*
!/my_dir/*/*
7 matches
Mail list logo