Cloning a repository SourceCraft

You can create a local copy of a SourceCraft repository on your computer or on a virtual machine:

  1. Install Git.

  2. Open the SourceCraft home page.

  3. On the Home tab, under Your craftspace, navigate to Repositories and select your repository.

    Alternatively, you can open any public repository.

  4. In the top-right corner of the repository page, click Clone.

  5. Copy the link for cloning the repository from the HTTPS or SSH field.

    Depending on the cloning connection protocol, different domains are used:

    Protocol

    Domain

    Cloning link

    HTTPS

    git.sourcecraft.dev

    https://git@git.sourcecraft.dev/<organization_slug>/<repository_slug>.git

    SSH

    ssh.sourcecraft.dev

    ssh://ssh.sourcecraft.dev/<organization_slug>/<repository_slug>.git

  6. In the terminal, run this command:

    git clone <link_for_cloning_repository>
    
    Example of a command for cloning a repository with SourceCraft documentation
    git clone https://git@git.sourcecraft.dev/sourcecraft/documentation.git
    

    Warning

  7. Go to your cloned repository:

    cd <repository_name>
    

See also