-
-
Save sbhmajd/775da9b63722e07621b031f9389f0e22 to your computer and use it in GitHub Desktop.
git tips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# ファイルの1年間のコミット数 | |
git ls-files | | |
while read file ; do | |
commits=`git log --since=1.year --no-merges --oneline -- $file | wc -l`; | |
echo "$commits - $file"; | |
done | sort -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment