C.20 GitCommitTask
Prev | Appendix C. Optional tasks | Next

## C.20 GitCommitTask

Record changes to the repository. See official documentation.

Table C.21: Attributes

Name | Type | Description | Default | Required
--- | --- | --- | --- | ---
`gitPath` | `String` | Path to Git binary | /usr/bin/git | No
`repository` | `String` | Path to Git repository | n/a | Yes
`message` | `String` | Commit message | n/a | No
`allFiles` | `Boolean` | Whether to automatically stage files that have been modified and deleted (see --all in git-commit) | n/a | No

### C.20.1 Example

    <!-- commit all modified / deleted files -->;
    <gitcommit
        repository="/path/to/repo"
        message="Commit message" allFiles="true" />;

### C.20.2 Supported Nested Tags

- `fileset`

Prev | Up | Next
C.19 GitCheckoutTask | Home | C.21 GitMergeTask