init
Set up a new Git repository at a specified path, configure options like bare repository, initial branch, or template directory to customize its initialization.
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) |