currentBranch property

String? currentBranch
final

The branch currently checked out on the node (git kind), observed from the last clone/sync. May differ from gitBranch (e.g. after the node publishes to a feature branch). Null until first observed.

Implementation

final String? currentBranch;