agentuity-cli-git-unlink

agentuity's avatarfrom agentuity

Unlink a project from its GitHub repository. Requires authentication

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 8, 2026

When & Why to Use This Skill

The agentuity-cli-git-unlink skill is a specialized developer utility designed to programmatically disconnect a local project from its associated GitHub repository. By leveraging the Agentuity CLI, it ensures a secure, authenticated, and efficient way to manage repository mappings, making it an essential tool for developers handling complex project lifecycles and repository migrations.

Use Cases

  • Repository Migration: Easily unlink a project from an existing GitHub repository before migrating the codebase to a new organization or a different version control provider.
  • Project Cleanup: Streamline the process of removing remote repository associations for local projects that no longer require cloud hosting or public visibility.
  • Automated DevOps Workflows: Integrate the unlinking command into CI/CD pipelines or local scripts to reset project states during automated testing or environment provisioning.
  • Security & Access Control: Quickly revoke a project's connection to a GitHub repo when repository access needs to be restricted or when rotating project credentials.
nameagentuity-cli-git-unlink
descriptionUnlink a project from its GitHub repository. Requires authentication
version"0.1.2"
licenseApache-2.0
allowed-tools"Bash(agentuity:*)"
command"agentuity git unlink"
tags"mutating destructive"

Git Unlink

Unlink a project from its GitHub repository

Prerequisites

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

Usage

agentuity git unlink [options]

Options

Option Type Required Default Description
--confirm boolean Yes - Skip confirmation prompt

Examples

Unlink current project from GitHub:

bunx @agentuity/cli git unlink

Unlink without confirmation prompt:

bunx @agentuity/cli git unlink --confirm

Unlink and return JSON result:

bunx @agentuity/cli --json git unlink --confirm

Output

Returns JSON object:

{
  "unlinked": "boolean",
  "repoFullName": "string"
}
Field Type Description
unlinked boolean Whether the project was unlinked
repoFullName string Repository that was unlinked