ManagedRepository.getRevert

Returns the resulting hash when reverting the branch from the base commit. Performs the revert if necessary. Caches the result. mainline is the 1-based mainline index (as per man git-revert), or 0 if commit is not a merge commit.

class ManagedRepository
string
getRevert
(
string target
,
string[2] branch
,)

Meta