Skip to content

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.

Contributors can’t create repositories directly in the workspace’s Git organization; repositories are created through PlaidCloud.

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. The setup card in the Git tab also links straight to this page.
  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 write:repository permission 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 Git in your workspace and select the copy button next to the repository’s clone address (select How to clone for the setup steps). You can also select Code in the repository and copy the HTTPS URL.

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

    Terminal window
    git clone <clone URL>
  3. When Git prompts for a password, paste the access token. Use the username already in the URL.

  4. Set the name and email Git records on your commits, using the values the setup card shows:

    Terminal window
    git config --global user.name "Your Name"
    git config --global user.email "you@example.com"

You need Contributor or Administrator access to push; as a Viewer you can read but not push. See Access Levels.

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.