2011-07-28から1日間の記事一覧
https://gist.github.com/1111375 namespace :git do namespace :ensure do desc "Check if your local branch is synched with remote branch" task :pushed do local = `git rev-parse #{branch}`.chomp remote = `git rev-parse remotes/origin/#{branch}…