Java org.eclipse.jgit.api MergeCommand fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.api MergeCommand fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.api MergeCommand.

The text is from its open source code.

Method

MergeResultcall()

Execute the Merge command with all the options and parameters collected by the setter methods (e.g.

MergeCommandinclude(Ref aCommit)
Reference to a commit to be merged with the current head
MergeCommandinclude(AnyObjectId aCommit)
Id of a commit which is to be merged with the current head
MergeCommandinclude(String name, AnyObjectId aCommit)
Include a commit
MergeCommandsetCommit(boolean commit)
Controls whether the merge command should automatically commit after a successful merge
MergeCommandsetFastForward(@Nullable FastForwardMode fastForwardMode)
Sets the fast forward mode.
MergeCommandsetSquash(boolean squash)
If true, will prepare the next commit in working tree and index as if a real merge happened, but do not make the commit or move the HEAD.
MergeCommandsetStrategy(MergeStrategy mergeStrategy)
Set merge strategy