status
Retrieve the current status of a Git repository, including tracking info, stashes, untracked files, and submodules. Supports short, long, and verbose formats for detailed or concise outputs.
Instructions
Get the current git repository status.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aheadBehind | No | Display detailed ahead/behind counts relative to upstream branch (--ahead-behind, --no-ahead-behind) | |
branch | No | Show the branch and tracking info even in short-format (-b, --branch) | |
column | No | Display untracked files in columns (--column[=<options>], --no-column) | |
findRenames | No | Turn on rename detection, optionally set similarity threshold (--find-renames[=<n>]) | |
ignoreSubmodules | No | Ignore changes to submodules (--ignore-submodules[=<when>]) | |
ignored | No | Show ignored files as well (--ignored[=<mode>]) | |
long | No | Give the output in the long-format (--long, default) | |
pathspec | No | Limit the output to the given paths | |
renames | No | Turn on/off rename detection (--renames, --no-renames) | |
repoPath | Yes | Absolute path to the git repository | |
short | No | Give the output in the short-format (-s, --short) | |
showStash | No | Show the number of entries currently stashed away (--show-stash) | |
untrackedFiles | No | Show untracked files (-u[<mode>], --untracked-files[=<mode>]) | |
verbose | No | Show textual changes that are staged to be committed (-v, --verbose, can be specified twice) |