webstorm中使用git提交代码时出现unversioned files错误

webstorm中使用git提交代码时出现unversioned files错误。

主要原因是对应的files 没有版本控制,最简单粗暴的方法是直接删除项目下的.idea目录即可。

原文地址:https://www.cnblogs.com/zoro-zero/p/14440494.html