Connecting Server Project to Existing Repository
Git |
SVN |
There is an existing Server sandbox with some data, graphs, jobflows, etc. The content of the sandbox is in repository as well.
This section describes a way to create a new Server project corresponding to this sandbox and to attach the project with versioning system.
Git
Cloning the remote repository and binding the content of an existing sandbox with the project from this repository is almost same as Initial Check-Out of Project from Repository.
The difference is that in the second step of the New Server Project wizard you should choose an existing sandbox.
Eclipse Plugin - EGit
Clone the repository.
Switch to Git perspective.
In Git Repositories tab, click the Clone a Git Repository and add the clone to this view icon.
Enter the remote repository location and password.
Choose branches to be tracked.
Enter the location at which the local repository will be created.
Switch back to CloverDX perspective.
Import the project from the local Git repository.
Convert the project to Server Project.
In the second step of wizard, choose an existing server sandbox.
In the last step of the wizard, choose the type of merge, e.g. Merge content - prefer remote files.
External Tool - TortoiseGit
Clone the git repository.
Import the project.
Convert project to Server Project.
External Tool - Command Line
Clone the Git repository.
git clone /path/to/remote/repo local_repo
Import the project.
Convert the project to Server Project.
SVN
Eclipse Plugin - Subclipse
Checkout the project from SVN.
Import the project.
Convert the project to Server Project.
External Tool - TortoiseSVN
Check out the repository to directory with project.
Right click the project directory in File Explorer and choose SVN Checkout...
Specify the checkout directory as current directory and click
.TortoiseSVN complains that the directory is not empty.
Import the project.
Convert project to Server project.
External Tool - Command Line
Check out the project from SVN.
svn checkout --force /path/to/repository
Import the project.
Convert the project to Server Project.