I am new to Egit and created a new repository for a GWT project I\'m working on. Unfortunately, I let it create the repository under my Dropbox folder, and now I\'m regrett
When working with a local repository, you can just do the following:
It may seem like a lot of steps, but it's actually very simple and less invasive than moving the repo and working copy separately.
I managed to do it myself, here's how:
Refactor->Move
. Move the Eclipse project to a new spot on disk. Note that I kept the .../GitRepositories/MyApp/MyApp
dir structure, it's just that I moved the location of GitRepositories to a new place. Also note that this left the old dir with nothing but the .git folder inside it (i.e. Eclipse moved the working files/dirs but not the repo)..../GitRepositories/MyApp
to .../GitRepositories/MyApp/MyApp
. This screwed things up and I had to back track...It might already work at this point, but because I moved .git to the wrong place when I first did it, I had to do the following steps:
Team->Disconnect
Team->Share Project...
../.git
Happy hacking...