Package | Description |
---|---|
org.netbeans.libs.git |
Modifier and Type | Method and Description |
---|---|
GitBlameResult |
GitClient.blame(File file,
String revision,
ProgressMonitor monitor)
Annotates lines of a given file in a given revision and returns the result
with annotate information.
|
boolean |
GitClient.catFile(File file,
String revision,
OutputStream out,
ProgressMonitor monitor)
Prints file's content in the given revision to output stream
|
void |
GitClient.checkout(File[] roots,
String revision,
boolean recursively,
ProgressMonitor monitor)
Checks out the index into the working copy root.
|
void |
GitClient.checkoutRevision(String revision,
boolean failOnConflict,
ProgressMonitor monitor)
Checks out a given revision, modifies the Index as well as the Working tree.
|
GitRevisionInfo[] |
GitClient.log(SearchCriteria searchCriteria,
boolean fetchBranchInfo,
ProgressMonitor monitor)
Digs through the repository's history and returns revisions according to
the given search criteria.
|
GitRevisionInfo[] |
GitClient.log(SearchCriteria searchCriteria,
ProgressMonitor monitor)
Digs through the repository's history and returns revisions according to the given search criteria.
|
GitRevisionInfo |
GitClient.log(String revision,
ProgressMonitor monitor)
Digs through the repository's history and returns the revision information belonging to the given revision string.
|
GitPullResult |
GitClient.pull(String remote,
List<String> fetchRefSpecifications,
String branchToMerge,
ProgressMonitor monitor)
Pulls changes from a remote repository and merges a given remote branch to an active one.
|
void |
GitClient.reset(File[] roots,
String revision,
boolean recursively,
ProgressMonitor monitor)
Updates entries for given files in the index with those from the given revision
|
void |
GitClient.reset(String revision,
GitClient.ResetType resetType,
ProgressMonitor monitor)
Sets HEAD to the given revision and updates index and working copy accordingly to the given reset type
|
GitRevertResult |
GitClient.revert(String revision,
String commitMessage,
boolean commit,
ProgressMonitor monitor)
Reverts already committed changes and creates an inverse commit.
|