git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Howard Miller <howard@e-learndesign.co.uk>
To: git@vger.kernel.org
Subject: gitignore - how to ignore only in current directory
Date: Sun, 23 May 2010 21:28:39 +0100	[thread overview]
Message-ID: <AANLkTilGH-Z4IpgosqYPFCl3G2XsKDfAT3pH6vi-wuN8@mail.gmail.com> (raw)

I want to ignore a particular file name in a particular directory.
However, the same filename may appear in subdirectories and in those
cases I do *not* want it ignored. The documentation seems to imply
that git will read up the directories looking for .gitignore files and
will ignore files that I need included.

Have I misunderstood this and/or how can this be done. Any
enlightenment appreciated!

             reply	other threads:[~2010-05-23 20:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-23 20:28 Howard Miller [this message]
2010-05-23 20:33 ` gitignore - how to ignore only in current directory Bruce Stephens
2010-05-23 20:38   ` Howard Miller
2010-05-23 20:36 ` Björn Steinbrink

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=AANLkTilGH-Z4IpgosqYPFCl3G2XsKDfAT3pH6vi-wuN8@mail.gmail.com \
    --to=howard@e-learndesign.co.uk \
    --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).