From: Konrad Karl <kk_konrad@gmx.at>
To: git@vger.kernel.org
Subject: Re: .gitignore: according to what rules does this work - SOLVED
Date: Thu, 27 May 2010 10:51:47 +0200 [thread overview]
Message-ID: <20100527085147.GB29598localhost> (raw)
In-Reply-To: <20100526162306.GA27815localhost>
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 :)
next prev parent reply other threads:[~2010-05-27 8:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-26 16:23 .gitignore: according to what rules does this work Konrad Karl
2010-05-27 8:51 ` Konrad Karl [this message]
2010-05-27 8:51 ` .gitignore: according to what rules does this work - SOLVED Konrad Karl
[not found] <-8502405260163699034@unknownmsgid>
2010-05-27 9:10 ` Ramkumar Ramachandra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100527085147.GB29598localhost \
--to=kk_konrad@gmx.at \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).