XP-Dev.com Documentation

Exporting Git Repositories

As Git is a distributed version control system, you can use any regular Git client to export your XP-Dev.com Git repositories.

Small print: You'll need to substitute the command below with the SSH URL of your Git repository.

Cloning XP-Dev.com Git Repositories

To clone the default HEAD branch of your XP-Dev.com Git repository for everyday use:

  • Go to the Repository tab of your XP-Dev.com project
  • Clone the Git repository:
    $ git clone ssh://git.xp-dev.com/repo

Mirroring XP-Dev.com Git Repositores

If you'd like to mirror all tags & branches of your XP-Dev.com Git repository:

  • Initialise an empty git repository on your local PC:
    $ cd /path/to/project
    $ git init
  • Add your XP-Dev.com Git repository as a mirror repository and fetch the whole repository:
    $ git remote add --mirror xpdev ssh://git.xp-dev.com/repo
    $ git pull xpdev

Hint: If you'd like to mirror using a bare local repository, you'd run the following commands instead:

$ cd /path/to/project $ git init --bare $ git remote add --mirror xpdev ssh://git.xp-dev.com/repo $ git fetch xpdev

Feel free to contact us if you need any assistance.