Skip to content
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

统计git提交次数 | jianqiao0313 #67

Open
jianqiao0313 opened this issue Jun 14, 2020 · 0 comments
Open

统计git提交次数 | jianqiao0313 #67

jianqiao0313 opened this issue Jun 14, 2020 · 0 comments

Comments

@jianqiao0313
Copy link
Owner

https://lvjianqiao.top/2020/06/14/%E7%BB%9F%E8%AE%A1git%E6%8F%90%E4%BA%A4%E6%AC%A1%E6%95%B0/

背景之前比较好奇,想看一个仓库所有人的提交次数,修改的行数,如下图(vue仓库) 输出的格式为:作者邮箱、提交次数、增加的行数、删除的行数、净增加行数 步骤1、获取git仓库所有人的提交次数1git log --pretty='%ae'| sort | uniq -c | sort -k1 -n -r | head -n 5 最后的head -n 5是提取最多的5个,可以根据

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

No branches or pull requests

1 participant