Skip site navigation (1) Skip section navigation (2)

Re: Add .gitignore files to CVS?

From: Chris Browne <cbbrowne(at)acm(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Add .gitignore files to CVS?
Date: 2010-01-14 17:46:12
Message-ID: 87ska8zijf.fsf@dba2.int.libertyrms.com (view raw or flat)
Thread:
Lists: pgsql-hackers
badalex(at)gmail(dot)com (Alex Hunsaker) writes:
> On Fri, Jan 8, 2010 at 02:03, Magnus Hagander <magnus(at)hagander(dot)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.

I'd put that in $GITHOME/.git/info/exclude

That's specifically what that file's for...
-- 
output = reverse("moc.liamg" "@" "enworbbc")
http://www3.sympatico.ca/cbbrowne/slony.html
DSK: STAN.K; ML EXIT -- FILE NOT FOUND

In response to

pgsql-hackers by date

Next:From: Magnus HaganderDate: 2010-01-14 17:46:50
Subject: Re: Clearing global statistics
Previous:From: Greg SmithDate: 2010-01-14 17:44:37
Subject: Re: Clearing global statistics

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group