Git status shows the following information:
Information is displayed in these locations:
Project View - ahead / behind, branch name, tags on HEAD
status bar - ahead / behind
Numbers for ahead and behind are based on number of commits not present in each of the branches.
This information is obtained from output of git rev-list <current-ref>...<parent-ref> --left-right
command.
Information presentation depends on the selected parent branch mode:
<current branch> -> <parent branch>
when both branches have the same remote<current branch> -> <parent remote>/<parent branch>
when both branches have different remotesThere are following modes available:
Task Management
plugin is enabled then get tracked branch of tasks parent branch, use tracked branch of current branch otherwise/
then match against names of remote branches prefixed with remote