From: jimmy bahuleyan <jimmy.cancer@gmail.com>
To: git@vger.kernel.org
Subject: git exclude patterns for directory
Date: Wed, 20 Jun 2007 01:38:21 +0530 [thread overview]
Message-ID: <20070619200821.GA16423@camelot> (raw)
(Please Cc on replies)
I just started using git (yes, newbie ;) and hit a problem that i cant
seem to solve.
Is there a way where I could specify a pattern in .git/info/exclude that
would make git ignore directories.
Suppose I had in each of my project's sub-directories a directory called
'IGNORE/', how do I make git ignore this directory (and all it's
contents)?
I tried putting in
IGNORE/*
but this only takes care of the directory in the root dir. Then I tried
*/IGNORE/*
which doesn't work for dirs at >1 depth. I did read gitignore man page
(and it looks impossible .. ):
So, is there any way I can do this without adding a gitignore file in
each of my sub-directories?
-jb
--
Tact is the art of making a point without making an enemy.
next reply other threads:[~2007-06-19 20:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-19 20:08 jimmy bahuleyan [this message]
2007-06-19 20:34 ` git exclude patterns for directory Alex Riesen
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=20070619200821.GA16423@camelot \
--to=jimmy.cancer@gmail.com \
--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).