title: In IntelliJ, How Do I Fix "These Files Do Not Belong to the Project"?
body: <p>I recently put several old, yucky git directory structures into one new, clean structure in SVN, then pulled the entire SVN repository back out into a new, clean, local git repository. One IntelliJ project was so messed up I had to import the old IntelliJ project, which created a new <code>.iml</code> file having a better name, and deleted the old <code>.iml</code> file. I reconfigured everything, committed back into SVN, and verified other people could open the project and build.</p>
  
  <p>Today I tried to edit a file for the first time in this project and got the message, "These files do not belong to the project". IntelliJ offers to unlock the file or all non-project files in the current session, but both options sound wrong. What have I done to myself, and how do I fix it?</p>