ClojureDocs

Nav

Namespaces

git-count-revs

  • (git-count-revs {:keys [dir git-command path], :or {git-command "git"}, :as params})
Shells out to git and returns count of commits on this branch:
  git rev-list HEAD --count
 Options:
  :dir - dir to invoke this command from, default = current directory
  :git-command - git command to use, default = "git"
  :path - path to count commits for relative to dir