Working on a Symfony2 project using phpStorm IDE, I added a couple of files to git to ignore, but one file, despite the fact that it is added to git, is ignored, always appears .... I tried many times, but its always there
.gitignore file:
/app/config/parameters.yml /bin/ /build/ /composer.phar /vendor/ /web/bundles/ /app/bootstrap.php.cache /app/cache/* !app/cache/.gitkeep /app/config/parameters.yml /app/logs/* !app/logs/.gitkeep /app/phpunit.xml #IDE metadata **.idea/**
And this is the .idea folder / files that git simply will not ignore:
On branch develop Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: .idea/workspace.xml no changes added to commit (use "git add" and/or "git commit -a")
Any idea why git just won't ignore the whole directory, as I specyfied in gitignore ...?
source share