Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
Modifier and Type | Method and Description |
---|---|
MergeCommand |
MergeCommand.include(AnyObjectId aCommit)
Id of a commit which is to be merged with the current head
|
MergeCommand |
MergeCommand.include(Ref aCommit)
Reference to a commit to be merged with the current head
|
MergeCommand |
MergeCommand.include(String name,
AnyObjectId aCommit)
Include a commit
|
MergeCommand |
Git.merge()
Return a command object to execute a
Merge command |
MergeCommand |
MergeCommand.setCommit(boolean commit)
Controls whether the merge command should automatically commit after a
successful merge
|
MergeCommand |
MergeCommand.setFastForward(MergeCommand.FastForwardMode fastForwardMode)
Sets the fast forward mode.
|
MergeCommand |
MergeCommand.setInsertChangeId(boolean insertChangeId)
If set to true a change id will be inserted into the commit message
An existing change id is not replaced.
|
MergeCommand |
MergeCommand.setMessage(String message)
Set the commit message to be used for the merge commit (in case one is
created)
|
MergeCommand |
MergeCommand.setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the diff operation.
|
MergeCommand |
MergeCommand.setSquash(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. |
MergeCommand |
MergeCommand.setStrategy(MergeStrategy mergeStrategy)
Set merge strategy
|
Copyright © 2018 Eclipse JGit Project. All rights reserved.