4
I can’t ignore the . classpath and . project files on Github. These are already in my . gitignore but after a while always end up coming back. I’m using Eclipse + Egit.
Follow my file . gitignore
/bin
/null
/.settings
*.db
*.class
*.jar
*.war
*.ear
.classpath
/.settings/org.eclipse.jdt.core.prefs
.project
/null/Documentos/indice-lucene/write.lock
/config.properties
sempre acabam voltando
, that is, initially you can ignore them?– Math
Because you didn’t use the same pattern as the other ignored extensions, i.e.,
*.classpath
and*.project
?– Miguel Angelo
At first yes, I delete the files and keep on committing, after some time they are there again. @Miguelangelo used, but changed to see if it solved the problem.
– Matt S
Are there other people working on the same project? And the file
.gitignore
is being commissioned?– Miguel Angelo
No, just me. Yes, it is.
– Matt S
Are you using a versioning program, like Gitextensions, Tortoisegit, or is it pure git? It’s in windows?
– Miguel Angelo
Yes, I’m using Windows + Eclipse + Egit
– Matt S
When git is "automatically changed" the file
.gitignore
is as if you had commiting changes?– Anthony Accioly
Another thing, the
.classpath
and the.project
were ever committed?– Anthony Accioly
Yes, they were committed in the first commit, but then I fixed in . gitignore and deleted the files.
– Matt S