From efcce7fc123b9e64fb9d93224e4e78d09144af3d Mon Sep 17 00:00:00 2001 From: scott Chacon Date: Sat, 10 Nov 2007 15:34:12 -0800 Subject: got clone and init to work - my first writing functions --- EXAMPLES | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'EXAMPLES') diff --git a/EXAMPLES b/EXAMPLES index 6dbfa6c..864db8d 100644 --- a/EXAMPLES +++ b/EXAMPLES @@ -78,15 +78,13 @@ g = Git.init { :git_dir => '/opt/git/proj.git', :index_file => '/tmp/index'} ) - -***** IMPLEMENTED ***** - - g = Git.clone(URI, :name => 'name', :path => '/tmp/checkout' - (username, password, ssl_key, git_dir, index_file) - + (git_dir, index_file) +***** IMPLEMENTED ***** + + g.config('user.name', 'Scott Chacon') g.config('user.email', 'email@email.com') -- cgit