2015-04-29 15:09 GMT+02:00 Peter Ansell <ansell.pe...@gmail.com>:

> On 29 April 2015 at 22:52, James Carman <ja...@carmanconsulting.com>
> wrote:
> > On Wed, Apr 29, 2015 at 7:37 AM Jörg Schaible
> >>
> >>
> >> But then you rely on the fact, that everyone has such a setting. I've
> >> already seen pull requests containing such files. It does not happen if
> the
> >> .gitignore is local.
> >>
> >>
> > I'm with Jörg on this one.  Having a .gitignore file in the repo is the
> > standard way most folks do it.  You can't rely upon (nor should you)
> > everyone having their global .gitignore file set up properly.  Just
> include
> > one in the repo and be done with it.
>
> +1 for a local .gitignore file. The list very rarely grows, and there
> are templates available to copy and paste out of if you want to build
> up a decent coverage straight up. For example, the following can be
> combined to get Maven, Eclipse and IntelliJ coverage:
>

I'm not saying we should remove the file. :-)

BTW: A nice tool for generating gitignore is gibo [1]

Benedikt

[1] https://github.com/simonwhitaker/gibo


>
> https://github.com/github/gitignore/blob/master/Maven.gitignore
>
> https://github.com/github/gitignore/blob/master/Global/Eclipse.gitignore
>
> https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
>
> Cheers,
>
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter

Reply via email to