threads / discuss / 7785

multiple .gitignore-s

Subject: multiple .gitignore-s

## tl;dr

3 messages between Apr 22, 2007 and Apr 23, 2007.

replies: 2people: 2as markdown or json

Yakov Lerner· Apr 22, 2007, 21:36 UTC · lore

If repo has toplevel .gitignore, and subdir A/B has also .gitignore, then how these two .gitignore-s interact to affect A/B ? Are they shadowed, or accumulated ?

Thanks Yakov

Junio C Hamano· Apr 22, 2007, 21:46 UTC · re: Yakov Lerner · lore

Re: multiple .gitignore-s

"Yakov Lerner" <iler.ml@gmail.com> writes:
> If repo has toplevel .gitignore, and subdir A/B
> has also .gitignore, then how these two .gitignore-s
> interact to affect A/B ? Are they shadowed, or accumulated ?

Study "Exclude Patterns" section of git-ls-files documentation, perhaps?

Yakov Lerner· Apr 23, 2007, 10:51 UTC · re: Junio C Hamano · lore

Re: multiple .gitignore-s

On 4/23/07, Junio C Hamano <junkio@cox.net> wrote:
Show 8 quoted lines
> "Yakov Lerner" <iler.ml@gmail.com> writes:
>
> > If repo has toplevel .gitignore, and subdir A/B
> > has also .gitignore, then how these two .gitignore-s
> > interact to affect A/B ? Are they shadowed, or accumulated ?
>
> Study "Exclude Patterns" section of git-ls-files documentation,
> perhaps?

Thanks Yakov

← back to recent threads