Re: Patch to .gitignore

From: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
To: Christopher Browne <cbbrowne(at)gmail(dot)com>
Cc: fabriziomello(at)gmail(dot)com, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch to .gitignore
Date: 2013-05-29 14:41:58
Message-ID: m2y5ax4zm1.fsf@2ndQuadrant.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christopher Browne <cbbrowne(at)gmail(dot)com> writes:
> You could hide your own favorite patterns by putting this into your
> ~/.gitignore that isn't part of the repo, configuring this globally, thus:
> git config --global core.excludesfile '~/.gitignore'

You can also put per-project setup in .git/info/exclude, works well.

> Us Emacs users can put things like *~, #*#, and such into our own "ignore"
> configuration; that doesn't need to bother you, and vice-versa for your
> vim-oriented patterns.

You can also ask Emacs (or any other editor I'm sure) to move its backup
files out of the way. I'm using the following, for example:

(setq backup-directory-alist '((".*" . "~/.emacs.d/backups/")))

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-05-29 14:42:45 Re: fallocate / posix_fallocate for new WAL file creation (etc...)
Previous Message Stephen Frost 2013-05-29 14:36:07 Re: fallocate / posix_fallocate for new WAL file creation (etc...)