Re: Add .gitignore files to CVS?

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: pgsql-hackers@postgresql.org
Cc: Alex Hunsaker <badalex@gmail.com>, Magnus Hagander <magnus@hagander.net>, Tim Bunce <Tim.Bunce@pobox.com>
Date: 2010-01-08T17:18:52Z
Lists: pgsql-hackers
On Friday 08 January 2010 17:38:15 Alex Hunsaker wrote:
> On Fri, Jan 8, 2010 at 02:03, Magnus Hagander <magnus@hagander.net> wrote:
> > You can always create your own branch with just the .gitignore files
> > and merge that into whatever you're working on :)
> 
> The only thing annoying about that is if you generate diffs ala git
> diff origin/master.. you get your .gitignore in it.
> 
> What I do is have a .gitignore that is gitignored.  That way its not
> committed, its on any branch i switch to or make and I don't
> accidentally commit it.
Thats what .git/info/excludes is for...

Andres