https://git-scm.com/docs/gitignore#_pattern_format ``` $ rg asdfas . ./.gitignore: line 26: error parsing glob '**.iml': invalid use of **; must be one path component ``` You probably want `**/*iml`
https://git-scm.com/docs/gitignore#_pattern_format
You probably want
**/*iml