Skip to content

Commit fae79ba

Browse files
Merge pull request ruby-git#146 from guyhughes/patch-1
Fix symbols in options Hash examples (:repository, :index)
2 parents 41d9e3e + 76f6c23 commit fae79ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ And here are the operations that will need to write to your git repository.
140140
g = Git.init
141141
Git.init('project')
142142
Git.init('/home/schacon/proj',
143-
{ :git_dir => '/opt/git/proj.git',
144-
:index_file => '/tmp/index'} )
143+
{ :repository => '/opt/git/proj.git',
144+
:index => '/tmp/index'} )
145145

146146
g = Git.clone(URI, NAME, :path => '/tmp/checkout')
147147
g.config('user.name', 'Scott Chacon')

0 commit comments

Comments
 (0)