Skip to content

Instantly share code, notes, and snippets.

@littlemove
Created February 8, 2009 22:51
Show Gist options
  • Save littlemove/60549 to your computer and use it in GitHub Desktop.
Save littlemove/60549 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'smusher'
out = `smusher ./`
out.lines.each do |line|
line.gsub!("\n",'')
if line.include?("smushing")
system("git add #{line.gsub("smushing ",'')}")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment