Now I was added in .gitignore
While the previous answer is pretty correct, this might be helpful:
You can specify a subdirectory of an ignored directory to not be ignored. eg: Ignore cache, but not 'excluded' in cache:
!image/cache images/cache/* !images/cache/excluded
You can also force add ignored files using:
git add path/to/file --force
But as previously stated, this only works on files, not directories.