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
OBSOLETE
Use Fake.Tools.Git.Merge instead
Contains helper functions which allow to deal with git merge.
Type | Description |
MergeType
|
OBSOLETE
Use Fake.Tools.Git.Merge instead
Git merge option.
|
Function or value | Description |
compareBranches(...)
Signature: repositoryDir:string -> local:string -> remote:string -> MergeType
Attributes:
[<Obsolete("Use Fake.Tools.Git.Merge instead")>]
|
OBSOLETE
Use Fake.Tools.Git.Merge instead
Tests whether branches and their "origin" counterparts have diverged and need merging first.
Parameters
repositoryDir - The git repository.
local - The local branch name.
remote - The remote branch name.
|
FastForwardFlag
Signature: string
Attributes:
[<Obsolete("Use Fake.Tools.Git.Merge instead")>]
|
OBSOLETE
Use Fake.Tools.Git.Merge instead
Allows git to use fast-forward merges
|
getMergeMessage(repositoryDir)
Signature: repositoryDir:string -> string
Attributes:
[<Obsolete("Use Fake.Tools.Git.Merge instead")>]
|
OBSOLETE
Use Fake.Tools.Git.Merge instead
Gets the current merge message.
|
merge repositoryDir flags branch
Signature: repositoryDir:string -> flags:string -> branch:string -> unit
Attributes:
[<Obsolete("Use Fake.Tools.Git.Merge instead")>]
|
OBSOLETE
Use Fake.Tools.Git.Merge instead
Performs a merge of the given branch with the current branch
Parameters
repositoryDir - The git repository.
flags - Additional flags.
-
branch - The branch we want to merge in.
Sample
merge @"C:\code\Fake" NoFastForwardFlag "master"
|
NoFastForwardFlag
Signature: string
Attributes:
[<Obsolete("Use Fake.Tools.Git.Merge instead")>]
|
OBSOLETE
Use Fake.Tools.Git.Merge instead
Forbids git to use fast-forward merges
|