JGIT git dissociate [message #1730259] |
Fri, 22 April 2016 18:55 |
Patrick-Jeffrey Pollo Guilbert Messages: 6 Registered: January 2016 |
Junior Member |
|
|
Hi,
Does JGIT support git clone --dissociate ? This allows you to clone a project to another place using existing objects from another clone. For instance, let's say I have project A cloned somewhere. I want to make a new clone for another workspace but I do not want to clone it using Internet bandwidth. The eclipse installer uses JGIT for its git tasks, and one of them is cloning a repo, where you can select an existing repo on your local machine. Unfortunately, this will only link the repo to the other repo, thus having two workspaces working on one repo. Dissociate would allow to have the latest changes from the remote repo, while still limiting object transfers. See this bug for more information : https://bugs.eclipse.org/bugs/show_bug.cgi?id=468100
A simple copy would not work in this case, as sometimes the repo source is not up-to-date, and we may not want to copy its changes too.
BR,
Patrick
|
|
|
|
Powered by
FUDForum. Page generated in 0.03065 seconds