Git Stage
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Stages file changes in the working directory for the next commit (git add).
Inputs
Section titled “Inputs”| Port | Description |
|---|---|
invalid port type: git-repo Repository | The Git repository object from a clone or open node. |
| A list of file paths or glob patterns to stage. Use ’.’ to stage all changes. |
Outputs
Section titled “Outputs”| Port | Description |
|---|---|
| Executes if the files are staged successfully. | |
| Executes if there is an error during staging. |
Addendum
Section titled “Addendum”This node adds file contents to the index (the staging area). You can provide specific file paths or glob patterns.
The repo input should be connected to the output of a git-clone or git-open node.
Common Patterns
Section titled “Common Patterns”- To stage all changes in the repository, provide a single path:
. - To stage all
.gofiles in thesrcdirectory:src/**/*.go
ID: core/git-stage@v1