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 |
微信扫一扫