Import from Git
How to get an existing repo from Git into Diversion
Importing an existing repo from Git can get you quickly up and running with Diversion. You can also enable bi-directional sync between your Git repo and Diversion, so that changes made in either place are reflected in the other. This is a great way to take Diversion for a test drive with no commitment.
To import a repo using the Web UI, follow these steps:
Enable Diversion Sync
Go to the Diversion Sync GitHub App page and follow the instructions to install it.
Go to your dashboard
It’s here.
Click the 'Import Git Repository' button
You'll be prompted to choose your import options
Choose whether you want to import your entire repo and keep all of its history, or just the latest commit from a specific branch.
If you choose to Import all branches with history
, you’ll have the option to Enable continuous bi-directional sync
.
Note
If you need bi-directional sync, please contact us at support@diversion.dev.
Enter the url for the repo you want to import
Click the 'Import' button
Wait for the import to complete
This happens in the background, and depending on the size of your Git repo can take a few minutes. You will receive an email when the import is complete.