Skip to content

Get ahead/behind count #14

Description

@lukeflo

I like the easy approach of wrapping the git CLI.

Is there a simple method to get the ahead/behind count of the local compared to the remote branch? Like you get it with

git rev-list --count origin/main..main and git rev-list --count main..origin/main?

So far, I couldn't find one. Maybe just overlooked or is it missing?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions