Merge Module
Contains helper functions which allow to deal with git merge.
Types
Type | Description |
Functions and values
Function or value | Description |
Full Usage:
Merge.FastForwardFlag
Returns: string
|
|
Full Usage:
Merge.NoFastForwardFlag
Returns: string
|
|
Full Usage:
Merge.compareBranches repositoryDir local remote
Parameters:
string
-
The git repository.
local : string
-
The local branch name.
remote : string
-
The remote branch name.
Returns: MergeType
|
|
Full Usage:
Merge.getMergeMessage repositoryDir
Parameters:
string
-
The git repository.
Returns: string
|
|
Full Usage:
Merge.merge repositoryDir flags branch
Parameters:
string
-
The git repository.
flags : string
-
Additional flags.
branch : string
-
The branch we want to merge in.
|
Example
|