Dnia 2015-08-13, o godz. 21:17:22
Patrick McLean <[email protected]> napisał(a):

> On Thu, 13 Aug 2015 07:43:24 -0700
> Brian Dolbec <[email protected]> wrote:
> > 
> > No, there clearly should be some things that are commonly present
> > that should never be committed.  Those common things should be in a
> > global .gitignore.  I did not read the entire thread(s) but it seemed
> > there was more bikeshedding that was necessary.  I had not seen
> > mention of an alternate git ignore setting that could be used without
> > the need to have a locally modified .gitignore that someone must
> > constantly refrain from committing with git constantly reminding them
> > it has been modified and lest they be chastised for committing it ;)  
> > 
> 
> We should have common editor artifacts and backup files in there, I
> generally use this in just about every repository I touch:
> 
> *~
> .*.sw[po]
> .*.un~
> *#
> .#*
> 
> This should cover vim and emacs, if there other editors that like to
> drop files around, we should consider adding those as well.0

set directory=~/tmp,/var/tmp

It's usually a bad idea to leave temporary files in cwd :P.

-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>

Attachment: pgpv6_zcfy7eg.pgp
Description: OpenPGP digital signature

Reply via email to