From 646304a6e7c3b2c442a0a7db995629e7009c3a14 Mon Sep 17 00:00:00 2001 From: scott Chacon Date: Sun, 11 Nov 2007 17:59:18 -0800 Subject: added documentation and a license file --- doc/classes/Git/Lib.src/M000046.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/classes/Git/Lib.src/M000046.html (limited to 'doc/classes/Git/Lib.src/M000046.html') diff --git a/doc/classes/Git/Lib.src/M000046.html b/doc/classes/Git/Lib.src/M000046.html new file mode 100644 index 0000000..22bbb94 --- /dev/null +++ b/doc/classes/Git/Lib.src/M000046.html @@ -0,0 +1,20 @@ + + + + + + commit (Git::Lib) + + + + +
# File lib/git/lib.rb, line 230
+    def commit(message, opts = {})
+      arr_opts = ["-m '#{message}'"]
+      arr_opts << '-a' if opts[:add_all]
+      command('commit', arr_opts)
+    end
+ + \ No newline at end of file -- cgit