GitRepository

August 5, 2026 ยท View on GitHub

The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed

Example Usage

import { GitRepository } from "@vercel/sdk/models/createprojectregion.js";

let value: GitRepository = {
  repo: "<value>",
  type: "github-limited",
};

Fields

FieldTypeRequiredDescription
repostring:heavy_check_mark:The name of the git repository. For example: "vercel/next.js"
typemodels.CreateProjectProjectsType:heavy_check_mark:The Git Provider of the repository