-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFE] Allow git count to accept a --recent argument #960
Labels
Comments
LGTM |
Couldn't --recent be interpreted as what hasn't been pushed yet? |
@tfendin Works for me. :) |
The upstream branch should probably be configurable, especially to support
git-flow workflows where the desired branch to compare to would likely be
called develop or dev.
…On Sat, Apr 9, 2022, 4:45 PM Daniel Berger ***@***.***> wrote:
@tfendin <https://github.com/tfendin> Works for me. :)
—
Reply to this email directly, view it on GitHub
<#960 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAUADM6CXMRO25FPUXZR2CLVEHT47ANCNFSM5SWGQYFQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see there's a
local-commits
andcount
option, but nothing that gives me the number of commits versus the default branch.This is what I use for that currently:
git rev-list --count HEAD ^main
What I would like to be able to do is
git count -r/--recent
as a shortcut to achieve that.If such a thing already exists and I've missed it, please let me know and close this.
The text was updated successfully, but these errors were encountered: