mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
14 lines
288 B
Bash
Executable file
14 lines
288 B
Bash
Executable file
#!/bin/sh
|
|
|
|
project=${PWD##*/}
|
|
commit_count=`git log --oneline | wc -l | tr -d ' '`
|
|
file_count=`git ls-files | wc -l | tr -d ' '`
|
|
authors=`git shortlog -n -s`
|
|
|
|
echo
|
|
echo " project: $project"
|
|
echo " commits: $commit_count"
|
|
echo " files : $file_count"
|
|
echo " authors: "
|
|
echo "$authors"
|
|
echo |