Protocol.Land Docs
HomeBlogGit Repo
  • ๐Ÿ‘‹Welcome to Protocol.Land
  • ๐Ÿ—„๏ธWorking with Repositories
    • Create a new repository
    • Fork a repository
    • Clone a repository
    • Import a repository from GitHub
    • Create a new branch
    • Update a repositoryโ€™s general information
    • Add contributors to a repository
    • Tokenization
  • ๐Ÿ“Working with Files
    • Create a new file
    • Add file/ files
    • Edit a file
  • ๐Ÿ’ปWorking with Pull Requests
    • Create a new pull request
    • Create a new pull request from a fork
    • Add reviewers to a pull request
    • Approve a pull request
    • Comment on a pull request
    • Merge a pull request
    • Close a pull request
    • Reopen a pull request
  • ๐Ÿ“„Working with Issues
    • Create a new issue
    • Assign an issue
    • Comment on an issue
    • Close an issue
    • Reopen an issue
    • Create a new bounty
    • Close a bounty
  • ๐Ÿš€Working with Deployments
    • Deploy a static page
    • Assign an ArNS name
  • working with organizations
    • Create a new organization
    • Create a new repository
    • Import a repository from GitHub
    • Add members to organization
    • See List of Organizations you are part of
    • Transfer your repo to organization
  • โ„น๏ธWorking with Profiles
    • Customize your profile details
    • Add a README for your profile
    • Explore contribution activity
Powered by GitBook
On this page
Edit on GitHub
  1. Working with Repositories

Clone a repository

Create a local copy (clone) of a repository using the command line.

PreviousFork a repositoryNextImport a repository from GitHub

Last updated 1 year ago

Cloning a repository sets up a local copy (clone) allowing you to work on projects, make changes and contribute the changes to the main repository. This is crucial for a collaborative development process allowing multiple contributors to work simultaneously, streamlining contributions and minimizing conflicts.

Follow these steps to clone a repository on Protocol.Land:

Note: Ensure you have the installed and properly configured to interact with repositories hosted on Protocol.Land using the command line.

  1. Navigate to the main page of the repository you wish to clone.

  2. On the top-right corner of the page, click โ€œCloneโ€.

  3. A modal will appear displaying the command to clone the repository. Use the Copy Icon to copy this URL.

  4. Open your command line interface (CLI).

  5. Paste and execute the copied command as follows:

git clone <repo_URL> repo_name
  1. This creates a local copy of the repository in a new directory named repo_name.

๐Ÿ—„๏ธ
git remote helper