Re: .gitignore: according to what rules does this work - SOLVED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This was actually a non-issue... see below
Konrad

On Wed, May 26, 2010 at 06:23:06PM +0200, Konrad Karl wrote:
> I have the following directory layout and want to exclude
> dir2 .. dirN
> 
> The following arrangement of .gitignore seems to work ok
> but I was unable to find docs about the double asterisks.
> 
> ./.gitignore:
> 
> *
> */
> !.gitignore
> !/dir1/
> 
> 
> dir1/.gitignore:
> 
> !**
> !**/
> 

There was a trailing blank after the first
asterisk. When trying  with two asterisks in despair
I started with a fresh file with no trailing blank.

Somewhat difficult to diagnose (now I am knowing better :)
 
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]