This is part of the Fake.Tools.Git module.

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