PHPStorm tells me file is ignored by Git even though it's not

Hello,

 

I have a weird problem. PHPStorm is telling me a file is ignore by ".gitignore" even though it is not ignored. It's also grayed out in the filetree.

I don't ignore this file in my .gitignore. This is it's content:

### Typo3 ###

# Keep these files out of the repo
/typo3
/typo3temp/*
/typo3versions/*
/typo3_versions/*
!/typo3temp/.gitkeep
/typo3conf/ENABLE_INSTALL_TOOL
/typo3conf/deprecation.log
/sql/
/test/
/uploads/
/vendor/
**/_processed_/
**/Dateien/

*.sql
*.log

# Hidden files
*.DS_Store
*Thumbs.db
*.sass-cache*
*~imageoptim*


### PhpStorm ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm

*.iml

## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the following:

# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# .idea/dictionaries
# .idea/shelf

# Sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
# .idea/uiDesigner.xml

# Gradle:
# .idea/gradle.xml
# .idea/libraries

# Mongo Explorer plugin:
# .idea/mongoSettings.xml

## File-based project format:
*.ipr
*.iws

## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Custom Folder for testing
.git.untracked/

#Ignore debug tools
/.sass-cache/

#Ignore specific folders
_untracked

Also when I do changes to that file and I type in "git status" it shows me that the file has changes.

 

Any ideas why this is and how I can fix it?

0
1 comment

What PhpStorm version are you using? Since 2019.2, we have the native .gitignore support so you don't longer need the .ignore plugin, and this warning comes from that 3rd party plugin AFAIR.

https://blog.jetbrains.com/idea/2019/07/support-for-vcs-ignores-in-intellij-idea-and-intellij-based-ides/

0

Please sign in to leave a comment.