Unable to move project because it overlaps ... Git / Eclipse

I try to move the project to my git repository using Team → Share Project → Git when I select the repo error "Cannot move project x to the target location ... since this location overlaps with the location ..."

My workspace and repo are different folders (this seems to fix this for most people).

+5
source share
4 answers

What version of the eclipse and egit plugin are you using?

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

+4
source

I tried many options, but they did not work. I posted the answer in another similar question, which is a manual way to do this that will work with any version of Eclipse, here is the link: fooobar.com/questions/1212227 / ...

+1
source

I encountered the same problem and applied the following steps to solve the problem:
1, Team --> Share Project...
2, Check Use or create repository in parent folder of project , and then Check Your project...
3, Click Create Repository
4, click Finish

0
source

In my case, there was a .project file in the git repo . I just deleted it from the terminal. Then everything works fine. You cannot access it using the graphical interface, which is another reason why the terminal is awesome!

0
source

Source: https://habr.com/ru/post/1212225/


All Articles