Skip to content

Instantly share code, notes, and snippets.

View mperrando's full-sized avatar

Marco Perrando mperrando

View GitHub Profile
#!/usr/bin/ruby
require 'rubygems'
require 'git'
log = "~/gitlog.txt"
tmp = "/tmp/gitlog"
commit = Git.open('.').log.first
message = [
commit.date.strftime('%D'),