JetBrains Rider 2022.2 Help

Clone repository

JetBrains Rider allows you to clone (or check out, depending on version control system you use) an existing repository and create a new solution based on the data you have downloaded.

You can clone a remote Git, Mercurial, or Subversion repository from the Welcome screen that opens right after launching JetBrains Rider or from the main menu.

Clone a repository from the Welcome Screen

You can clone a remote Git, Mercurial, or Subversion repository from the Welcome screen that opens right after launching JetBrains Rider.

Welcome Screen options

Clone a remote repository:

  1. Click Get from VCS in the upper right corner.

  2. In the Get from Version Control dialog that opens, select Git from the list.

  3. Specify the URL of the remote repository that you want to clone.

  4. In the Directory field, enter the path to the folder where your local repository will be created.

  5. Click Clone.

  1. Click Get from VCS in the upper right corner.

  2. In the Get from Version Control dialog that opens, select a Mercurial from the list.

  3. Specify the URL of the remote repository that you want to clone.

  4. In the Directory field, enter the path to the folder where your local repository will be created.

  5. Click Clone.

  1. Click Get from VCS in the upper right corner.

  2. In the Get from Version Control dialog, click Add Repository Location and specify the repository URL.

  3. Click Check Out.

  4. In the dialog that opens, specify the destination directory where the local copy of the repository files will be created, and click OK.

    If you are checking out sources for an existing solution, the destination folder should be below the project .

  5. In the SVN Checkout Options dialog, specify the following settings:

    • Revision to be checked out (HEAD or a selected revision).

    • Whether you need to check out the nested directories.

    • Whether you need to include the external locations.

    Click OK.

The cloning process starts. In the list of solutions, you can see the repository that you are currently cloning with the progress bar of the cloning process. Note that you can clone several repositories at the same time.

When the cloning process finishes, JetBrains Rider opens the solution.

Stop the cloning process

  1. Click Close on the right side of the cloning progress bar.

  2. In the Stop Cloning dialog that opens, choose Stop to stop the cloning process. If you changed you mind, choose Cancel to continue the cloning process.

Clone failed

If there is an error during the cloning process, a notification in the bottom-right corner will warn you about it.

Clone a repository from the main menu

  1. From the main menu, choose Git | Clone.

  2. In the Get from Version Control dialog that opens, select Git from the list.

  3. Specify the URL of the remote repository that you want to clone.

  4. In the Directory field, enter the path to the folder where your local repository will be created.

  5. Click Clone.

  1. From the main menu, choose VCS | Get from Version Control.

  2. In the Get from Version Control dialog that opens, select Mercurial from the list.

  3. Specify the URL of the remote repository that you want to clone.

  4. In the Directory field, enter the path to the folder where your local repository will be created.

  5. Click Clone.

  1. From the main menu, choose VCS | Get from Version Control.

  2. In the Get from Version Control dialog, click Add Repository Location and specify the repository URL.

  3. Click Check Out.

  4. In the dialog that opens, specify the destination directory where the local copy of the repository files will be created, and click OK.

    If you are checking out sources for an existing solution, the destination folder should be below the project .

  5. In the SVN Checkout Options dialog, specify the following settings:

    • Revision to be checked out (HEAD or a selected revision).

    • Whether you need to check out the nested directories.

    • Whether you need to include the external locations.

    Click OK.

More details about setting up local repositories:

Last modified: 16 August 2022