IBuildAgent.

GetCurrentBranch(bool) Method

Summary

Returns the name of the current branch as reported by the build agent environment.
Namespace
GitVersion.Agents
Containing Type
IBuildAgent

Syntax

string GetCurrentBranch(bool usingDynamicRepos)

Parameters

Name Type Description
usingDynamicRepos bool

Return Value

Type Description
string
GitHub