basyura's blog

あしたになったらほんきだす。

2014-01-26から1日間の記事一覧

git のログをパースしてゴニョゴニョしたいとき

Ruby で。 ENV['GIT_PAGER'] = '' IO.popen('git log') do |io| while line = io.gets puts line end end