Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Move local git repository
Move local git repository [message #976182] Thu, 08 November 2012 11:28 Go to next message
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 482
Registered: December 2010
Location: Germany
Senior Member
Hello

I would like to move a local git repository to a different location. How can I tell EGit that the path to the repository has changed?

Thanks for your help!

Greetings
Christoph
Re: Move local git repository [message #976667 is a reply to message #976182] Thu, 08 November 2012 19:05 Go to previous messageGo to next message
Robin Rosenberg is currently offline Robin RosenbergFriend
Messages: 332
Registered: July 2009
Senior Member
Christoph Keimel skrev 2012-11-08 12.28:
> Hello
>
> I would like to move a local git repository to a different location. How can I tell EGit that the path to the repository has changed?

If the whole repo is inside one project you should be able to right-click and use Refactor->Move. This
is rarely the case in which case you need to delete the repository, move it using a tool outside
eclipse and re-import projects from the new location.

-- robin
Re: Move local git repository [message #976684 is a reply to message #976667] Thu, 08 November 2012 19:25 Go to previous message
Robin Rosenberg is currently offline Robin RosenbergFriend
Messages: 332
Registered: July 2009
Senior Member
Robin Rosenberg skrev 2012-11-08 20.05:
> Christoph Keimel skrev 2012-11-08 12.28:
>> Hello
>>
>> I would like to move a local git repository to a different location. How can I tell EGit that the path to the repository has changed?
>
> If the whole repo is inside one project you should be able to right-click and use Refactor->Move. This
> is rarely the case in which case you need to delete the repository, move it using a tool outside
> eclipse and re-import projects from the new location.

It's Remove Repository from View in the Git Repositories View. NOT Delete.

-- robin
Previous Topic:Merge tool - repository merge view shows non-conflicting files
Next Topic:Commit/amend not possible
Goto Forum:
  


Current Time: Tue Apr 16 07:20:55 GMT 2024

Powered by FUDForum. Page generated in 0.04854 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top