Skip to content

Get ahead/behind count #14

@lukeflo

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?

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