branchName property

String branchName
final

The name of the associated branch.

When in the detached head state, the value may be "HEAD". In this case isHead is also true.

Implementation

final String branchName;