mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
feature: support --ff-only
option for git merge
command
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
2b95ea2ab1
commit
a0cddaea80
4 changed files with 14 additions and 11 deletions
|
@ -5,6 +5,7 @@
|
|||
public static readonly MergeMode[] Supported =
|
||||
[
|
||||
new MergeMode("Default", "Fast-forward if possible", ""),
|
||||
new MergeMode("Fast-forward", "Refuse to merge when fast-forward is not possible", "--ff-only"),
|
||||
new MergeMode("No Fast-forward", "Always create a merge commit", "--no-ff"),
|
||||
new MergeMode("Squash", "Squash merge", "--squash"),
|
||||
new MergeMode("Don't commit", "Merge without commit", "--no-ff --no-commit"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue