Property | Type | Description | |
---|---|---|---|
GetMergeCommitsForBranch | List |
Method | Description | |
---|---|---|
FindCommitBranchWasBranchedFrom ( [ branch ) : GitVersion.BranchCommit |
Find the commit where the given branch was branched from another branch. If there are multiple such commits and branches, returns the newest commit.
|
|
FindMergeBase ( Branch branch, Branch otherBranch ) : |
Find the merge base of the two branches, i.e. the best common ancestor of the two branches' tips.
|
|
GetBranchesContainingCommit ( [ commit, IList |
||
GetVersionTagsOnBranch ( Branch branch, string tagPrefixRegex ) : IEnumerable |
||
GitRepoMetadataProvider ( IRepository repository ) : System |
Method | Description | |
---|---|---|
GetMergeCommitsForBranch ( Branch branch ) : List |
public FindCommitBranchWasBranchedFrom ( [ branch ) : GitVersion.BranchCommit | ||
branch | [ | |
return | GitVersion.BranchCommit |
public FindMergeBase ( Branch branch, Branch otherBranch ) : |
||
branch | Branch | |
otherBranch | Branch | |
return |
public GetBranchesContainingCommit ( [ commit, IList |
||
commit | [ | |
branches | IList |
|
onlyTrackedBranches | bool | |
return | IEnumerable |
public GetVersionTagsOnBranch ( Branch branch, string tagPrefixRegex ) : IEnumerable |
||
branch | Branch | |
tagPrefixRegex | string | |
return | IEnumerable |
public GitRepoMetadataProvider ( IRepository repository ) : System | ||
repository | IRepository | |
return | System |