[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    local junk and .gitignore (was: [ANNOUNCE] xeyes 1.0.991)
From:       <olafBuddenhagen () gmx ! net>
Date:       2009-10-31 5:11:26
Message-ID: 20091031051123.GO2298 () alien ! local
[Download RAW message or body]

Hi,

On Tue, Oct 06, 2009 at 03:45:45PM -0400, James Cloos wrote:

>       Add *~ to .gitignore to skip patch/emacs droppings

As such things are inherently local and specific to your own workflow,
IMHO they shouldn't go in the .gitignore in the repository.

Luckily -- unlike CVS -- Git offers another way to ignore stuff locally:
you can specify extra gitignore files in the configuration.

You can even do this globally for all your repositories. For that, add
to your ~/.gitconfig:

   [core]
   	excludesfile = /home/<login>/.site.gitignore

and then create ~/.site.gitignore (or whatever name you prefer) with *~
and other local stuff you tend to have in your working trees.

-antrik-
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic