Rastreamento de tempo Git

#!/usr/bin/rubycommand = ‘/usr/bin/git –no-pager log –oneline’ARGV.each do|a| if a.match(/^–after/) command += ‘ ‘ + a endendhours = 0begin output = `#{command}` commits = output.split(“n”) commits.each do |line| line.scan(/t[(.*)]/) do |r| …

Continuar lendo