|JGIT git dissociate [message #1730259]
||Fri, 22 April 2016 18:55
| Patrick-Jeffrey Pollo Guilbert
Registered: January 2016
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.
Powered by FUDForum
. Page generated in 0.01838 seconds