public interface GitCommit extends HasObjectId
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage() |
java.util.List<? extends GitCommit> |
getParents()
Gets a list of the parent commits.
|
java.util.Collection<? extends GitTag> |
getTags()
Gets a collection of all tags in the repository that point to this commit.
|
getId, id@Nonnull java.lang.String getMessage()
@Nonnull java.util.Collection<? extends GitTag> getTags()
GitTag objects (may be empty)@Nonnull java.util.List<? extends GitCommit> getParents()
If a commit has more than one parent, the commit is a merge commit, and the second and any further parents refer to the merged branch(es).