git_init
Initialize a new Git repository by specifying the path and optionally creating a bare repository, enabling version control setup through natural language commands.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bare | No | Create a bare repository | |
repository_path | Yes | Path for the new git repository |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"bare": {
"description": "Create a bare repository",
"type": "boolean"
},
"repository_path": {
"description": "Path for the new git repository",
"type": "string"
}
},
"required": [
"repository_path"
],
"type": "object"
}