git_commit_amend
Add files to a recent commit, amending HEAD or creating a fixup commit for earlier changes.
Instructions
Amend files to the last commit created by git_commit. If the commit is still HEAD, uses git commit --amend. Otherwise, uses git commit --fixup to create a fixup commit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | List of file paths to add to the commit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |