Cannot move project as it overlaps... Git/Eclipse

Which version of eclipse and egit plugin are you using?

For me on Kepler Service Release 2 and Egit 3.2.0 it works if I choose: Team->Share Project->Git and then tickbox Use or create repository in parent folder of project BUT then select the project folder . instead of the parent ..


In my case, there was a .project file inside the git repo. I just deleted it from the terminal. Then everything works perfectly. You can't access it with the GUI which is another reason why terminal is awesome!


Tried many options but they didn't work. I've posted an answer in another similar question which is a manual way to do it which will work with any Eclipse version, here is the link: https://stackoverflow.com/a/41799215/578046