From 8c9a70a957086b671f0cc12cd789f222eefe917c Mon Sep 17 00:00:00 2001 From: Ivan Aracki Date: Wed, 31 Jul 2019 05:18:59 +0200 Subject: [PATCH] git-shortlog: add -sne commands (#3213) --- pages/common/git-shortlog.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/common/git-shortlog.md b/pages/common/git-shortlog.md index 25a66048a..ae37d0d18 100644 --- a/pages/common/git-shortlog.md +++ b/pages/common/git-shortlog.md @@ -18,3 +18,11 @@ - View a summary of the last 5 commits (i.e. specify a revision range): `git shortlog HEAD~{{5}}..HEAD` + +- View all users, emails and the number of commits in the current branch: + +`git shortlog -sne` + +- View all users, emails and the number of commits in all branches: + +`git shortlog -sne --all`