I have a problem with Phpstorm (2017.3.2) and gitlab
I commited and pushed the bower_components folder and would like to remove it, but I can't.
I fif git rm -r --cached ./public/bower_components
, the folders/files looked red (like files that are not synced with git, that's good), when I try to commit, they looks in grey (like when you delete a files from git, that's good), but when I commit/push, I have this error message.
Commit failed with error
0 files committed, 11 files failed to commit: remove bower folder
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
I also have another problem related to phpstorm, more than git.
I want to exclude the /public/node_modules
and /public/semantic folders
so I marked these folders as Excluded
(orange folder in Phpstorm) but they keep appearing in the commit window.
I also tried to add them to .gitignore file but still appearing.
The vendor
forlder is not showing though (I created the project some weeks ago with the symfony command composer create-project symfony/website-skeleton my-project
and I don't remember what I did at that time to exclude the vendor folders. )
Thanks in advance for your answers.