added commit,diff,xgrep

This commit is contained in:
rkiel
2015-05-31 16:44:56 -04:00
parent 94fb96ad2d
commit ce7f66e2fe
3 changed files with 73 additions and 0 deletions

9
bin/commit Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env ruby
raise "USAGE: commit [word....]" unless ARGV.size > 0
comment = ARGV.reject { |x| x == '-m' }.join(' ')
command = "git commit -m \"#{comment}\""
exec command