Package org.eclipse.jgit.api
package org.eclipse.jgit.api
High-level API commands (the porcelain of JGit).
-
ClassDescriptionA class used to execute a
Addcommand.Add object notes.Apply a patch to files and/or to the index.AnInputStreamthat updates aSHA1on every byte read.We write the patch result to aTemporaryBufferand then useDirCacheCheckout.getContent() to run the result through the CR-LF and smudge filters.Something that can supply anInputStream.Encapsulates the result of aApplyCommandCreate 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 aBlameResultfor a file path.Checkout a branch to the working tree.Stage to check out, seeCheckoutCommand.setStage(Stage).Encapsulates the result of aCheckoutCommandThe statusA class used to execute acherry-pickcommand.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 aCommitcommand.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 aFetchcommand.Callback for status of fetch operation.A class used to execute agccommand.Offers a "GitPorcelain"-like API to interact with a git repository.GitCommand<T>Common superclass of all commands in the packageorg.eclipse.jgit.apiCreate 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 aLogcommand.The ls-remote commandA class used to execute aMergecommand.Values for the "merge.conflictStyle" git config.The modes available for fast forward merges corresponding to the--ff,--no-ffand--ff-onlyoptions 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 aPullCommandA class used to execute aPushcommand.A class used to execute aRebasecommand.Allows to configure the interactive rebase process steps and to modify commit messages.ExtendsRebaseCommand.InteractiveHandlerwith an enhanced callback for editing commit messages.Describes the result of editing a commit message: the new message, and how it should be cleaned.The available operationsThe result of aRebaseCommandexecutionThe 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 aResetcommand.Kind of resetA class used to execute arevertcommand.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 aStatuscommand.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 aTransportduring execution.Receives a callback allowing type-specific configuration to be set on the Transport instance after it's been created.AVerificationResultdescribes 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.