Git Status
git_statusCheck Git working tree status to identify staged, unstaged, and untracked files. View repository changes and file modification state before committing.
Instructions
Show the working tree status including staged, unstaged, and untracked files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to the Git repository. Defaults to session working directory set via git_set_working_dir. | . |
| includeUntracked | No | Include untracked files in the output. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | Indicates if the operation was successful. | |
| currentBranch | Yes | Current branch name. | |
| isClean | Yes | True if working directory is clean. | |
| stagedChanges | Yes | Changes that have been staged for the next commit. | |
| unstagedChanges | Yes | Changes in the working directory that have not been staged. | |
| untrackedFiles | Yes | Files in the working directory not tracked by git. | |
| conflictedFiles | Yes | Files with merge conflicts that need resolution. |