В соответствии с рекомендацией от этого вопроса: Ignore files that have already been committed to a Git repositoryПосле удаления .gitignore, git все еще дает ошибку?
Мы сделали следующее:
git rm -r --cached .
git add .
$ git commit -m".gitignore is now working"
On branch master
Your branch and 'origin/master' have diverged,
and have 2 and 24 different commits each, respectively.
(use "git pull" to merge the remote branch into yours)
git commit -m".gitignore now works"
git pull
git says:
$ git pull
error: The following untracked working tree files would be overwritten by merge:
dir/.classpath
Как мы заставим мерзавца игнорировать файл .classpath?
Да, исправлено, извините! – Dov