Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
109 views
in Technique[技术] by (71.8m points)

Intellij doesn't show .git directory

How I 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 doesn't switch to the "on" position, so I suppose that's not the way of going about this?

question from:https://stackoverflow.com/questions/35784352/intellij-doesnt-show-git-directory

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The .git directory is ignored by default. To see it in the project pane, do the following:

  • Go to the settings (Help | Find Action...Ctrl/Cmd+Shift+A and type "Settings")
  • Navigate to Editor | File Types in the Settings dialog
  • Remove .git; from the Ignore files and folders text field at the bottom

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...