rugged icon indicating copy to clipboard operation
rugged copied to clipboard

Repository#head doesn't work according to documentation

Open ioquatix opened this issue 9 years ago • 0 comments

#head ⇒ Object Retrieve and resolve the reference pointed at by the repository's HEAD. Returns nil if HEAD is missing.

But when i do this on an empty repository, I get:

Rugged::ReferenceError:
       Reference 'refs/heads/master' not found

ioquatix avatar Feb 01 '17 08:02 ioquatix