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`