Browse Source

git-count: add page (#5970)

CleanMachine1 3 years ago
parent
commit
40c7bc1e6a
1 changed files with 13 additions and 0 deletions
  1. 13 0
      pages/common/git-count.md

+ 13 - 0
pages/common/git-count.md

@@ -0,0 +1,13 @@
+# git count
+
+> Print the total number of commits.
+> Part of `git-extras`.
+> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-count>.
+
+- Print the total number of commits:
+
+`git count`
+
+- Print the number of commits per contributor and the total number of commits:
+
+`git count --all`