The eclipse plugin how git to ignore certain files in the project

This is our project in the Project Explorer
Here Insert Picture Description
This project is under the Navigator
Here Insert Picture Description
Obviously Project Explorer A lot of hidden files to us
that these hidden
as files in the directory .classpath .project .settings
These are the Eclipse project to create and manage our files, and code we developed not directly related to
these is not necessary to track, that is, they ignore
these files for each version of the eclipse will be different, so we will have a conflict if the words of team development

Open the site
https://github.com/github/gitignore
can see a variety of languages ignored, eclipse I have to consider the
Here Insert Picture Description
find java
Here Insert Picture Description
after opening
Here Insert Picture Description
with .gitconfig create a gitignore same level directory
Here Insert Picture Description
Here Insert Picture Description
and add some configuration in the above .gitconfg is just the configuration of
Here Insert Picture Description
the path is a must have to correct the path, be sure to use a forward slash
and then eclipse restart

Guess you like

Origin blog.csdn.net/qq_43077857/article/details/91862587
Recommended