Action Source Control
Git Status
Checks the status of a Git repository and outputs lists of files that are new, modified, deleted, or staged.
Node IDGitStatusAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Repository Path repository_path | file_picker | Yes | — | The local file path to the Git repository to check. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | An execution signal to trigger the status check. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
Modified Files output0 | object | modified_files | A list of absolute paths for files that have been modified in the working directory. |
New Files output1 | object | new_files | A list of absolute paths for new, untracked files in the working directory. |
Deleted Files output2 | object | deleted_files | A list of absolute paths for files that have been deleted from the working directory. |
Staged Files output3 | object | staged_files | A list of absolute paths for all files currently in the staging area (index). |
All Changed Files output4 | object | all_changed_files | A combined list of all files that are new, modified, deleted, or staged. |