Interface FetchGitAheadBehindResponseOrBuilder (0.13.0)

public interface FetchGitAheadBehindResponseOrBuilder extends MessageOrBuilder

Methods

getCommitsAhead()

public abstract int getCommitsAhead()

The number of commits in the remote branch that are not in the workspace.

int32 commits_ahead = 1;

Returns
TypeDescription
int

The commitsAhead.

getCommitsBehind()

public abstract int getCommitsBehind()

The number of commits in the workspace that are not in the remote branch.

int32 commits_behind = 2;

Returns
TypeDescription
int

The commitsBehind.