瀏覽代碼

git-shortlog: add -sne commands (#3213)

Ivan Aracki 5 年之前
父節點
當前提交
8c9a70a957
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      pages/common/git-shortlog.md

+ 8 - 0
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`