Example usage for Java org.eclipse.jgit.api Git fields, constructors, methods, implement or subclass
The text is from its open source code.
Git(Repository repo) Construct a new org.eclipse.jgit.api.Git object which can interact with the specified git repository. |
AddCommand | add() Return a command object to execute a Add command |
ApplyCommand | apply() Return a command object to execute a apply command |
ArchiveCommand | archive() Return a command to create an archive from a tree |
BlameCommand | blame() Return a command object to execute a blame command |
CreateBranchCommand | branchCreate() Return a command object used to create branches |
DeleteBranchCommand | branchDelete() Return a command object used to delete branches |
ListBranchCommand | branchList() Return a command object used to list branches |
RenameBranchCommand | branchRename() Return a command object used to rename branches |
CheckoutCommand | checkout() Return a command object to execute a checkout command |
CherryPickCommand | cherryPick() Return a command object to execute a cherry-pick command |
CleanCommand | clean() Return a command object to execute a clean command |
CloneCommand | cloneRepository() Return a command object to execute a clone command |
void | close() Free resources associated with this instance. |
CommitCommand | commit() Return a command object to execute a Commit command |
DescribeCommand | describe() Return a command object to come up with a short name that describes a commit in terms of the nearest git tag. |
DiffCommand | diff() Return a command object to execute a diff command |
FetchCommand | fetch() Return a command object to execute a Fetch command |
GarbageCollectCommand | gc() Return a command object to execute a gc command |
Repository | getRepository() Get repository |
InitCommand | init() Return a command object to execute a init command |
LogCommand | log() Return a command object to execute a Log command |
LsRemoteCommand | lsRemote() Return a command object to execute a ls-remote command |
LsRemoteCommand | lsRemoteRepository() Return a command to list remote branches/tags without a local repository. |
MergeCommand | merge() Return a command object to execute a Merge command |
AddNoteCommand | notesAdd() Return a command to add notes to an object |
ListNotesCommand | notesList() Return a command to list all notes |
RemoveNoteCommand | notesRemove() Return a command to remove notes on an object |
ShowNoteCommand | notesShow() Return a command to show notes on an object |
Git | open(File dir) Open repository |
Git | open(File dir, FS fs) Open repository |
PullCommand | pull() Return a command object to execute a Pull command |
PushCommand | push() Return a command object to execute a Push command |
RebaseCommand | rebase() Return a command object to execute a Rebase command |
ReflogCommand | reflog() Return a command object to execute a reflog command |
RemoteAddCommand | remoteAdd() Return a command used to add a new remote. |
RemoteListCommand | remoteList() Return a command used to list the available remotes. |
RemoteRemoveCommand | remoteRemove() Return a command used to remove an existing remote. |
ResetCommand | reset() Return a command object to execute a reset command |
RmCommand | rm() Return a command object to execute a rm command |
StashApplyCommand | stashApply() Returs a command object used to apply a stashed commit |
StashCreateCommand | stashCreate() Return a command object used to create a stashed commit |
StashDropCommand | stashDrop() Return a command object used to drop a stashed commit |
StashListCommand | stashList() Return a command object used to list stashed commits |
StatusCommand | status() Return a command object to execute a status command |
SubmoduleInitCommand | submoduleInit() Return a command object to execute a submodule init command |
SubmoduleUpdateCommand | submoduleUpdate() Return a command object to execute a submodule update command |
TagCommand | tag() Return a command object to execute a Tag command |
DeleteTagCommand | tagDelete() Return a command object used to delete tags |
ListTagCommand | tagList() Return a command object used to list tags |
Git | wrap(Repository repo) Wrap repository |