Skip to content

Instantly share code, notes, and snippets.

View taktos's full-sized avatar

Toshio Takiguchi taktos

View GitHub Profile
@manhole
manhole / git_count_changes.rb
Last active November 4, 2015 09:06
gitへ変更した行数をカウントするスクリプト
# gitへ変更した行数をカウントするスクリプト
#
# example:
# git log --since=2014-11-01 --committer=manhole --shortstat --ignore-all-space --no-merges | ruby git_count_changes.rb
# => commits=175, insertions=10350, deletions=1253
# 各行の形式は...
# 10 files changed, 210 insertions(+), 19 deletions(-)
# 1 file changed, 5 insertions(+)
# 1 file changed, 50 deletions(-)