Re: getting started with git
- From
Lars Hoss <lars@woeye.net>
- Date
- Nov 14, 2008, 14:29 UTC
- Message-ID
- <fc0c0c65f69439eede2e4565c5f930fd.squirrel@webmail.highteq.net>
- In-Reply-To
- <1a6be5fa0811140456j10fd8703w74e485571e3c70af@mail.gmail.com>
Show 7 quoted lines
> > Well, if it were me, I think I would commit that eclipse config file > under a different name... Say, ".classpath.defaults" instead of > ".classpath". Then your README file could tell your users to start by > copying the .classpath.defaults to .classpath, and update its contents > as necessary. Put .classpath in your .gitignore file, so it won't be > committed to the repository.
Template files (x.default) is a good idea. But regarding your example with .classpath: it's safe to add it to git since it's developer independent and project oriented. Therefore it's useful for every developer in the project who uses eclipse :-)
Yours, Lars