Git
{{$git.commitEntry}}
generates a random commit entry as printed by git log. This includes a commit hash {{$git.commitSha}}
, author, date {{$git.commitDate}}
, and commit message {{$git.commitMessage}}
. You can also generate a random branch name with {{$git.branch}}
.branch
commitDate
Name | Type | Default | Description |
---|---|---|---|
refDate | string | number | Date | {{$date.now}} | The date to use as reference point for the commit. |
commitEntry
Name | Type | Default | Description |
---|---|---|---|
eol | 'LF' | 'CRLF' | 'CRLF' | Choose the end of line character to use.'LF' = '\n' ,'CRLF' = '\r\n' |
merge | boolean | {{$datatype.boolean(probability=0.2)}} | Set to true to generate a merge message line. |
refDate | string | number | Date | {{$date.now}} | The date to use as reference point for the commit. |
commitMessage
commitSha
length
option.8 for GitLab
Name | Type | Default | Description |
---|---|---|---|
length | number | 40 | The length of the commit sha. |