when .gitignore just ignores you!

Everyone that once worked with git already stumbled upon this problem. You added some rules to .gitignore file to be excluded in the next commits but the files still appear on the src tree. Well, the thing is that those files were previously added to the tree and .gitignore only