Skip to content

Repositories

A repository holds the files, branches, and history for one project. This guide walks through creating a repository and connecting to it from your computer.

  1. Open Git from your workspace.
  2. Select the + menu in the top-right corner, then New Repository.
  3. Enter a name, and optionally a short description.
  4. Choose the visibility. New repositories are Private by default — only members you grant access can see them.
  5. Optionally select Initialize Repository to add a README, a .gitignore, and a license.
  6. Select Create Repository.

Because you sign in through PlaidCloud, your account has no separate Git password. To clone or push over HTTPS from the command line, create a personal access token and use it in place of a password.

  1. Select your avatar in the top-right corner, then Settings.
  2. Open the Applications tab.
  3. Under Manage Access Tokens, enter a name that describes where you’ll use the token (for example, laptop).
  4. Select the repository read and write scopes so the token can clone and push.
  5. Select Generate Token.
  6. Copy the token and store it somewhere safe. You won’t be able to view it again.
  1. Open the repository in PlaidCloud Git.

  2. Select Code, then copy the HTTPS clone URL.

  3. In a terminal, run git clone with that URL:

    Terminal window
    git clone https://git.example.plaidcloud.com/you/my-repo.git
  4. When Git prompts for credentials, enter your PlaidCloud username and paste the access token as the password.

From inside a cloned repository:

  1. Stage your changes: git add .
  2. Record them with a message: git commit -m "Describe what changed"
  3. Send them to PlaidCloud Git: git push

Your commits appear in the repository’s Commits and Activity views, and on any branch or pull request that includes them.

Open a repository’s Settings tab to rename it, change its visibility, or transfer ownership. To let other members contribute, use Settings → Collaborators and add them by username with a Read, Write, or Administrator role.