mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
13 lines
282 B
Bash
Executable file
13 lines
282 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: \n$authors"
|
|
echo |