agentuity avatar

agentuity-cli-git-status

Show GitHub connection status for current project. Requires authentication

提供方 agentuity|开源

Git Status

Show GitHub connection status for current project

Prerequisites

  • Authenticated with agentuity auth login
  • Project context required (run from project directory or use --project-id)

Usage

agentuity git status

Examples

Show GitHub status for current project:

bunx @agentuity/cli git status

Get status in JSON format:

bunx @agentuity/cli --json git status

Output

Returns JSON object:

{
  "orgId": "string",
  "connected": "boolean",
  "integrations": "array",
  "projectId": "string",
  "linked": "boolean",
  "repoFullName": "string",
  "branch": "string",
  "directory": "string",
  "autoDeploy": "boolean",
  "previewDeploy": "boolean"
}
FieldTypeDescription
orgIdstringOrganization ID
connectedbooleanWhether GitHub is connected to the org
integrationsarrayConnected GitHub accounts
projectIdstringProject ID
linkedbooleanWhether the project is linked to a repo
repoFullNamestringFull repository name
branchstringBranch
directorystringDirectory
autoDeploybooleanAuto-deploy enabled
previewDeploybooleanPreview deploys enabled