Migrating existing Git repositories to Deveo

The following steps are needed in order to migrate existing Git repositories to Deveo:

  1. Create a new repository in Deveo project. You can accomplish this either through quick actions or from the repositories screen:
    Create new repository from quick actions
  2. Clone the repository you wish to migrate:
    git clone --bare <OLD-REPOSITORY-URL>
  3. Go to the repository directory:
  4. Obtain the clone URL for the repository you created in Deveo from the repository view:
    Deveo Git repository clone URL
  5. Change the clone URL of the repository you cloned to point to the repository you created in Deveo with the following command:
    git remote set-url origin <DEVEO-REPOSITORY-URL>
  6. Push the repository to Deveo:
    git push --mirror
    If you copied the clone URL with SSH as an access method, you need to have your SSH key added to Deveo in order to push the changes.
Updated on: 27 July 2017