返回 Skill 列表
extension
分类: 开发与工程无需 API Key

agentuity-cli-git-status

显示当前项目的GitHub连接状态。需要身份验证

person作者: jakexiaohubgithub

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"
}

| Field | Type | Description | |-------|------|-------------| | orgId | string | Organization ID | | connected | boolean | Whether GitHub is connected to the org | | integrations | array | Connected GitHub accounts | | projectId | string | Project ID | | linked | boolean | Whether the project is linked to a repo | | repoFullName | string | Full repository name | | branch | string | Branch | | directory | string | Directory | | autoDeploy | boolean | Auto-deploy enabled | | previewDeploy | boolean | Preview deploys enabled |