public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@imag•fr>
To: Brian Gernhardt <benji@silverinsanity•com>
Cc: Nikos Chantziaras <realnc@arcor•de>, git@vger•kernel.org
Subject: Re: "exclude" and ".gitignore" for everyone
Date: Mon, 01 Jun 2009 16:36:30 +0200	[thread overview]
Message-ID: <vpqy6scc975.fsf@bauges.imag.fr> (raw)
In-Reply-To: <E6F58E6B-4ECF-4A55-9249-9A8BBFBDBC24@silverinsanity.com> (Brian Gernhardt's message of "Mon\, 1 Jun 2009 09\:58\:11 -0400")

Brian Gernhardt <benji@silverinsanity•com> writes:

>  Generally, I'd suggest putting [...] your editor's garbage in
> exclude.

better: put them in a user-wide ignore file.

in ~/.gitconfig:

[core]
        excludesfile = /home/yourlogin/.gitignore

then put whatever you want in $HOME/.gitignore.

-- 
Matthieu

      parent reply	other threads:[~2009-06-01 14:42 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
2009-06-01 14:36   ` Matthieu Moy [this message]

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=vpqy6scc975.fsf@bauges.imag.fr \
    --to=matthieu.moy@imag$(echo .)fr \
    --cc=benji@silverinsanity$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=realnc@arcor$(echo .)de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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