From: Nikos Chantziaras <realnc@arcor.de>
To: git@vger.kernel.org
Subject: Re: "exclude" and ".gitignore" for everyone
Date: Mon, 01 Jun 2009 17:16:04 +0300 [thread overview]
Message-ID: <h00nqe$mj4$1@ger.gmane.org> (raw)
In-Reply-To: <E6F58E6B-4ECF-4A55-9249-9A8BBFBDBC24@silverinsanity.com>
Brian Gernhardt wrote:
> On Jun 1, 2009, at 9:46 AM, Nikos Chantziaras wrote:
>> [...]
>> For example I've put "*.[oa]" and "*~" in ./git/info/exclude.
>> However, the rest of the persons doing commits in the public
>> repository might not have those entries. Is everyone required to put
>> those entries in "exclude" themselves or does Git allow for those to
>> be automatically added next time they do a "git pull"?
>
> If you commit a .gitignore, it will be used by everyone.
> .git/info/exclude is for your personal excludes. Generally, I'd suggest
> putting build products in .gitignore and your editor's garbage in
> exclude.
> [...]
> If you add and commit the .gitignore file it will be picked up by
> everyone, while whatever backups, temp files, notes, or whatever you use
> can be kept private in your exclude file.
Thanks, Brian!
next prev parent reply other threads:[~2009-06-01 14:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-01 13:46 "exclude" and ".gitignore" for everyone Nikos Chantziaras
2009-06-01 13:58 ` Brian Gernhardt
2009-06-01 14:16 ` Nikos Chantziaras [this message]
2009-06-01 14:36 ` Matthieu Moy
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='h00nqe$mj4$1@ger.gmane.org' \
--to=realnc@arcor.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.