Package org.eclipse.jgit.api
package org.eclipse.jgit.api
High-level API commands (the porcelain of JGit).
-
ClassDescriptionA class used to execute a
Add
command.Add object notes.Apply a patch to files and/or to the index.A wrapper for returning both the applied tree ID and the applied files list, as well as file specific errors.A wrapper for a patch applying error that affects a given file.Encapsulates the result of aApplyCommand
Create an archive of files from a named tree.ArchiveCommand.Format<T extends Closeable>Archival format.Signals an attempt to use an archival format that ArchiveCommand doesn't know about (for example due to a typo).Blame command for building aBlameResult
for a file path.Checkout a branch to the working tree.Stage to check out, seeCheckoutCommand.setStage(Stage)
.Encapsulates the result of aCheckoutCommand
The statusA class used to execute acherry-pick
command.Encapsulates the result of aCherryPickCommand
.The cherry-pick statusRemove untracked files from the working treeClone a repository into a new working directoryCallback for status of clone operation.A class used to execute aCommit
command.Used to create a local branch.The modes available for setting up the upstream configuration (corresponding to the --set-upstream, --track, --no-track optionsUsed to delete one or several branches.Used to delete one or several tags.Given a commit, show the most recent tag that is reachable from a commit.Show changes between commits, commit and working tree, etc.A class used to execute aFetch
command.Callback for status of fetch operation.A class used to execute agc
command.Offers a "GitPorcelain"-like API to interact with a git repository.GitCommand<T>Common superclass of all commands in the packageorg.eclipse.jgit.api
Create an empty git repository or reinitalize an existing oneUsed to obtain a list of branches.The modes available for listing branches (corresponding to the -r and -a options)List object notes.Used to obtain a list of tags.A class used to execute aLog
command.The ls-remote commandA class used to execute aMerge
command.The modes available for fast forward merges corresponding to the--ff
,--no-ff
and--ff-only
options underbranch.<name>.mergeoptions
.The modes available for fast forward merges corresponding to the options undermerge.ff
.Encapsulates the result of aMergeCommand
.The status the merge resulted in.Command to find human-readable names of revisions.The Pull commandEncapsulates the result of aPullCommand
A class used to execute aPush
command.A class used to execute aRebase
command.Allows configure rebase interactive process and modify commit messageThe available operationsThe result of aRebaseCommand
executionThe overall statusThe reflog commandUsed to add a new remote.Used to obtain the list of remotes.Used to remove an existing remote.Used to change the URL of a remote.The available URI types for the remote.Remove object notes.Used to rename branches.A class used to execute aReset
command.Kind of resetA class used to execute arevert
command.Remove files from the index and working directory (or optionally only from the index).Show an object note.Command class to apply a stashed commit.Command class to stash changes in the working directory and index in a commit.Command class to delete a stashed commit referenceCommand class to list the stashed commits in a repository.A class telling where the working-tree, the index and the current HEAD differ from each other.A class used to execute aStatus
command.A class used to execute a submodule add command.A class used to execute a submodule deinit command.The user tried to deinitialize a submodule that doesn't exist in the index.The effect of a submodule deinit command for a given pathThe result of a submodule deinit command for a particular pathA class used to execute a submodule init command.A class used to execute a submodule status command.A class used to execute a submodule sync command.A class used to execute a submodule update command.Create/update an annotated tag object or a simple unannotated tagBase class for commands that use aTransport
during execution.Receives a callback allowing type-specific configuration to be set on the Transport instance after it's been created.AVerificationResult
describes the outcome of a signature verification.A command to verify GPG signatures on tags or commits.Describes what kind of objects shall be handled by aVerifySignatureCommand
.