Git Commit
Creates a new commit from the staged changes.
Inputs#
| Port | Description |
|---|---|
invalid port type: git-repo Repository |
The Git repository object from a clone or open node. |
| The commit message. | |
| The name of the commit author. Overrides the repository's config. | |
| The email of the commit author. Overrides the repository's config. | |
| Whether to stage all changes before committing. |
Outputs#
| Port | Description |
|---|---|
| Executes if the commit is created successfully. | |
| Executes if there is an error during the commit. | |
| The full hash of the newly created commit. |
Addendum#
This node records the changes currently in the staging area to the repository's history.
The repo input should be connected to the output of a git-clone or git-open node. The author information is optional; if not provided, it will be taken from the repository's Git configuration.
ID: git-commit@v1