Skip to content

Instantly share code, notes, and snippets.

@adamkittelson
Created July 27, 2010 17:24
Show Gist options
  • Save adamkittelson/492547 to your computer and use it in GitHub Desktop.
Save adamkittelson/492547 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
`git status --porcelain`.split("\n").each do |path|
`mate #{path[3..-1]}` if path.start_with? '?? '
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment