Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

CommitMessage

Contains helper functions which allow to get and set the git commit message.

Functions and values

Function or valueDescription
getCommitMessage(repositoryDir)
Signature: repositoryDir:string -> string

Gets the commit message

getCommitMessageFileInfos(repositoryDir)
Signature: repositoryDir:string -> FileInfo list

Returns the commit message file.

setMessage repositoryDir text
Signature: repositoryDir:string -> text:string -> unit

Sets the commit message