README.md in rjgit-4.6.1.0 vs README.md in rjgit-4.7.0.0

- old
+ new

@@ -1,9 +1,9 @@ RJGit ===== -###A JRuby wrapper around the [JGit library](https://github.com/eclipse/jgit) for manipulating Git repositories, the Ruby way. +### A JRuby wrapper around the [JGit library](https://github.com/eclipse/jgit) for manipulating Git repositories, the Ruby way. [![Build Status](https://travis-ci.org/repotag/rjgit.png)](https://travis-ci.org/repotag/rjgit) [![Coverage Status](https://coveralls.io/repos/repotag/rjgit/badge.png?branch=master)](https://coveralls.io/r/repotag/rjgit) [![Gem Version](https://badge.fury.io/rb/rjgit.png)](http://badge.fury.io/rb/rjgit) @@ -124,9 +124,10 @@ ```ruby repo.create_branch('new_branch') # Similarly for deleting, renaming repo.checkout('new_branch') repo.add('new_file.txt') # Similarly for removing repo.commit('My message') +repo.update_ref(commit) # Fast forward HEAD (or another ref) to the commit just created ``` ### Committing and adding branches to repositories, 'plumbing' style (also works with bare repos) ```ruby repo = repo.new("repo.git")