|Re: gitignore without breaking workspace [message #1732303 is a reply to message #1732301]
||Sun, 15 May 2016 11:22
| Ed Merks
Registered: July 2009
For our project, we put a .gitignore like this in the root to ignore all
bin folders. All our Java projects use the bin folder for the .class
That's mostly all we need to ignore.
There's also a preference, Team -> Git -> Project for "Automatically
ignore derived resources by adding them to .gitignore; generators will
often set the Derived attribute on an IFile if it's generated/derived,
and those could be automatically ignored.
Definitely don't ignore some of the hidden files like .project,
..classpath, and most of what's in .settings/*
If you have something more specific you're not sure about, ask a more
On 15.05.2016 11:48, cristian ambaek wrote:
> Hi all
> I work with Java projects using git between multiple PC's, and have
> been trying to use the .gitignore file to ignore automatic generated
> files from Eclipse that does not need to be shared between my PC's
> without breaking project so i still can import projects as a whole and
> not over writing the IDE settings between PC's.
> So far i havn't had much luck since i either ignore to little or to
> much, so my question are.
> What files from Eclipse can you with ease ignore without breaking the
> overall project so i still can import projects as a whole in Eclipse
> and not overwrite Eclipse settings from one IDE to the next?
> Thanks on advance
> Kind regards
Powered by FUDForum
. Page generated in 0.02767 seconds