i\'m adding this to .gitignore file
.idea/*
but anyway the status is:
# modified: .gitignore #
Simply add git rm -r --cached
git rm -r --cached
Sometimes, you update the .gitignore file after the commit command of files. So, the files get cached in the memory. To remove the cached files, use the above command.