Add repository
add_repositoryAdd a git repository to GitWarren for tracking. Provide any directory inside the working tree; the repository root is resolved automatically and duplicates are prevented.
Instructions
Start tracking a git repository. path may be any directory inside the working tree - it is resolved to the repository root before being stored, so the same repository cannot be added twice under two different paths. name defaults to the folder name. Fails with NOT_A_GIT_REPOSITORY if the path is not inside a git repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | Yes |