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/M000047.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 doc/classes/Git/Lib.src/M000047.html (limited to 'doc/classes/Git/Lib.src/M000047.html') diff --git a/doc/classes/Git/Lib.src/M000047.html b/doc/classes/Git/Lib.src/M000047.html new file mode 100644 index 0000000..03f68f1 --- /dev/null +++ b/doc/classes/Git/Lib.src/M000047.html @@ -0,0 +1,21 @@ + + + + + + reset (Git::Lib) + + + + +
# File lib/git/lib.rb, line 236
+    def reset(commit, opts = {})
+      arr_opts = []
+      arr_opts << '--hard' if opts[:hard]
+      arr_opts << commit.to_s if commit
+      command('reset', arr_opts)
+    end
+ + \ No newline at end of file -- cgit