CommitCommand |
Git.commit() |
Return a command object to execute a Commit command
|
CommitCommand |
CommitCommand.setAll(boolean all) |
If set to true the Commit command automatically stages files that have
been modified and deleted, but new files not known by the repository are
not affected.
|
CommitCommand |
CommitCommand.setAllowEmpty(boolean allowEmpty) |
Set whether to allow to create an empty commit
|
CommitCommand |
CommitCommand.setAmend(boolean amend) |
Used to amend the tip of the current branch.
|
CommitCommand |
CommitCommand.setAuthor(String name,
String email) |
Sets the author for this commit .
|
CommitCommand |
CommitCommand.setAuthor(PersonIdent author) |
Sets the author for this commit .
|
CommitCommand |
CommitCommand.setCleanupMode(CommitConfig.CleanupMode mode) |
|
CommitCommand |
CommitCommand.setCommentCharacter(Character commentChar) |
Sets the comment character to apply when cleaning a commit message.
|
CommitCommand |
CommitCommand.setCommitter(String name,
String email) |
Sets the committer for this commit .
|
CommitCommand |
CommitCommand.setCommitter(PersonIdent committer) |
Sets the committer for this commit .
|
CommitCommand |
CommitCommand.setCredentialsProvider(CredentialsProvider credentialsProvider) |
|
CommitCommand |
CommitCommand.setDefaultClean(boolean strip) |
|
CommitCommand |
CommitCommand.setGpgConfig(GpgConfig config) |
|
CommitCommand |
CommitCommand.setGpgSigner(GpgSigner signer) |
Sets the GpgSigner to use if the commit is to be signed.
|
CommitCommand |
CommitCommand.setHookErrorStream(PrintStream hookStdErr) |
Set the error stream for all hook scripts executed by this command
(pre-commit, commit-msg, post-commit).
|
CommitCommand |
CommitCommand.setHookErrorStream(String hookName,
PrintStream hookStdErr) |
Set the error stream for a selected hook script executed by this command
(pre-commit, commit-msg, post-commit).
|
CommitCommand |
CommitCommand.setHookOutputStream(PrintStream hookStdOut) |
Set the output stream for all hook scripts executed by this command
(pre-commit, commit-msg, post-commit).
|
CommitCommand |
CommitCommand.setHookOutputStream(String hookName,
PrintStream hookStdOut) |
Set the output stream for a selected hook script executed by this command
(pre-commit, commit-msg, post-commit).
|
CommitCommand |
CommitCommand.setInsertChangeId(boolean insertChangeId) |
If set to true a change id will be inserted into the commit message
An existing change id is not replaced.
|
CommitCommand |
CommitCommand.setMessage(String message) |
Set the commit message
|
CommitCommand |
CommitCommand.setNoVerify(boolean noVerify) |
Sets the noVerify option on this commit command.
|
CommitCommand |
CommitCommand.setOnly(String only) |
Commit dedicated path only.
|
CommitCommand |
CommitCommand.setReflogComment(String reflogComment) |
Override the message written to the reflog
|
CommitCommand |
CommitCommand.setSign(Boolean sign) |
Sets whether the commit should be signed.
|
CommitCommand |
CommitCommand.setSigningKey(String signingKey) |
Sets the signing key
|