On this page

Show all

Help Center/ CodeArts Repo/ User Guide/ Cloning or Downloading a Repository to a Local PC/ Differences Between Cloning and Downloading a Repository

Differences Between Cloning and Downloading a Repository

Updated on 2025-03-27 GMT+08:00

Both cloning and downloading a repository are ways of obtaining the code repo, but their operations and outcomes vary.

  1. Clone a repo to a local PC.

    Using the SSH key or HTTPS protocol to clone a repo means the process of copying the contents of the entire repo to the local computer and create a local repo. The local repository contains the complete history of code commits, branches, and tags for version controls and modifications. Currently, CodeArts Repo supports cloning code repositories using Git Bash and TortoiseGit clients. Before cloning repos in CodeArts Repo with an SSH key, configure the SSH key for accessing CodeArts Repo.

  2. Download a repo.

    Download one or more files or folders in the repo to a local computer. This does not contain complete code commit history, branches, or tags. Version control and modification cannot be performed. Currently, CodeArts Repo allows you to download code using a browser.

Therefore, if you need to control and modify the version of the code repo, you need to use the SSH key or HTTPS protocol to clone the code repo. If you only need to obtain one or more files of the code repo, you can use a browser to download the code repo.

NOTICE:
  • If you want to clone the repository and develop code locally, go to the homepage of the repository to be cloned from CodeArts Repo, choose Branches > Create Branch, and create a development branch based on the master branch. For details about the work item types that can be associated with CodeArts Repo, see E2E Settings.
  • Currently, CodeArts Repo supports cloning one repository at a time. If you want to clone multiple repositories to the local host at a time, you can use Shell or batch processing commands.
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback