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

Re: [OT] trouble with .gitignore patterns



In <[🔎] 20110116160216.GA6914@think.homelan>, Andrei Popescu wrote:
>$ git init
>Initialized empty Git repository in /home/amp/Download/gitest/.git/
>$ touch dir/file3
>$ echo '*' > .gitignore
>$ git status -s
>$ echo '!file1' >> .gitignore
>$ echo '!dir/' >> .gitignore
>$ git status -s
>?? file1
>$
>
>Why is 'dir' still ignored?

Looks like a bug to me.  It is at least an undocumented feature.
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
bss@iguanasuicide.net                   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: