Mark
Mark

Reputation: 18787

How to put dir .apt_generated to gitignore

I put to the .gitignore file

.apt_generated

but everytime after recompiling the project eGit in Eclipse and git status -s show that the files in .apt_generated are changed.

Upvotes: 0

Views: 859

Answers (1)

Peter van der Does
Peter van der Does

Reputation: 14468

If you added it to the .gitignore after you committed it once, you need to remove it from the index by typing

git rm --cached .apt_generated

Upvotes: 2

Related Questions