Idea file deletion problems finishing

When people develop, there will obviously overlooked in gitignore in .idea folder, but still within .idea case file will appear when you submit changes

The reason
.idea has been tracked by git, after adding after .gitignore is not useful

Solution
Clear .idea the git cache

RM -R & lt --cached .idea Git
. 1
.gitignore added .idea
 

Guess you like

Origin blog.csdn.net/dongheli/article/details/85840591