Intellij does not show .git directory

How can I get Intellij to show the .git folder in the project viewer? I tried ctrl + alt + A and clicked "show hidden files and directories", but it does not switch to the "on" position, so I suppose this is not a way to do this?

+5
source share
1 answer

By default, the .git directory is ignored. Go to File | Settings | Editor | File Types File | Settings | Editor | File Types File | Settings | Editor | File Types and remove .git; from the Ignore files and folders text box under the .gitignore (Git) file type to see it in the project panel.

+13
source

Source: https://habr.com/ru/post/1244393/


All Articles