GitExtensions Class

Summary

Extension and utility methods that supplement Git-related operations.
Assembly
GitVersion.Core.dll
Namespace
GitVersion.Extensions
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["GitExtensions"] class Type type-node

Syntax

public static class GitExtensions

Methods

Name Value Summary
CreateGitLogArgs(Nullable<int>) string
Builds the git log argument string for a decorated graph view, optionally limiting to maxCommits commits.
static
DumpGraphLog(Action<string>, Nullable<int>) void
Writes a hint message explaining how to run git log --graph to visualise the repository history.
static