Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found
here.
If the API is already migrated you can check here if exists in a module.
More information regarding the migration can be found here
Merge
Contains helper functions which allow to deal with git merge.
Nested types and modules
Type | Description |
MergeType |
Git merge option. |
Functions and values
Function or value | Description |
compareBranches(...)
Signature: repositoryDir:string -> local:string -> remote:string -> MergeType
|
Tests whether branches and their "origin" counterparts have diverged and need merging first. Parameters
|
FastForwardFlag
Signature: string
|
Allows git to use fast-forward merges |
getMergeMessage(repositoryDir)
Signature: repositoryDir:string -> string
|
Gets the current merge message. |
merge repositoryDir flags branch
Signature: repositoryDir:string -> flags:string -> branch:string -> unit
|
Performs a merge of the given branch with the current branch Parameters
|
NoFastForwardFlag
Signature: string
|
Forbids git to use fast-forward merges |