README.md in git-1.4.0 vs README.md in git-1.5.0
- old
+ new
@@ -200,10 +200,11 @@
g.branch('new_branch') # creates new or fetches existing
g.branch('new_branch').checkout
g.branch('new_branch').delete
g.branch('existing_branch').checkout
+ g.branch('master').contains?('existing_branch')
g.checkout('new_branch')
g.checkout(g.branch('new_branch'))
g.branch(name).merge(branch2)
@@ -224,9 +225,10 @@
g.remote(name).merge
g.remote(name).merge(branch)
g.fetch
g.fetch(g.remotes.first)
+ g.fetch('origin', {:ref => 'some/ref/head'} )
g.pull
g.pull(Git::Repo, Git::Branch) # fetch and a merge
g.add_tag('tag_name') # returns Git::Tag