init
Initialize a new Git repository by specifying the path, initial branch, template, or creating a bare repository, enabling streamlined repository setup for AI-driven workflows.
Instructions
Initialize new Git repository.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bare | No | Create a bare repository (--bare) | |
initialBranch | No | Set the initial branch name (--initial-branch) | |
repoPath | Yes | Absolute path where to initialize the git repository | |
template | No | Template directory to use (--template) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"bare": {
"description": "Create a bare repository (--bare)",
"type": "boolean"
},
"initialBranch": {
"description": "Set the initial branch name (--initial-branch)",
"type": "string"
},
"repoPath": {
"description": "Absolute path where to initialize the git repository",
"type": "string"
},
"template": {
"description": "Template directory to use (--template)",
"type": "string"
}
},
"required": [
"repoPath"
],
"type": "object"
}