Remove from cache and add into gitignore files.
Annoying issues
modified: ../my-core/.settings/org.eclipse.wst.common.project.facet.core.xml modified: src/main/resources/logback.xml modified: src/main/resources/sandbox/persistence.properties
Use follow commads to remove from cache
git rm --cached .project git rm --cached .classpath git rm --cached -r .settings
Example
git rm --cached -r ../my-core/.settings/ rm 'my-core/.settings/org.eclipse.core.resources.prefs' rm 'my-core/.settings/org.eclipse.jdt.core.prefs' rm 'my-core/.settings/org.eclipse.m2e.core.prefs' rm 'my-core/.settings/org.eclipse.wst.common.component' rm 'my-core/.settings/org.eclipse.wst.common.project.facet.core.xml' rm 'my-core/.settings/org.eclipse.wst.validation.prefs'
Git ignore files
.project .classpath .settings/
Git Ignore Eclipse .Settings .Project .Classpath
Thanks