I'm trying to Mavenize my project... the problem I'm facing is that my java files are in ProjectFolder\src
but I need to move them to ProjectFolder\src\main\java
I am unsure how to proceed, as I have a few commits to git that I don't want to lose but I don't know how to go ahead and inform git about the move... I mean how will git know the moved file is the same file as before?
Should I:
- just unmark the
src
folder as Source Root, move the folder with windows explorer and then remark it as Source Root? - or Refactor | move the
src
folder ? - or something else?