/.idea我想忽略 IDE 中的一个隐藏文件夹。我遵循了https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore的模式,但它并没有被忽略。
// .gitignore
# See https://help.github.com/ignore-files/ for more about ignoring files.
# dependencies
/node_modules
package-lock.json
**/node_modules
# testing
/coverage
# production
/build
# Things that I have tried
.idea/
/.idea/
.idea/**
Run Code Online (Sandbox Code Playgroud)
有什么方法可以忽略它?