Method: Git::Base#describe
- Defined in:
- lib/git/base.rb
#describe(committish = nil, opts = {}) ⇒ Object
returns the most recent tag that is reachable from a commit
options:
:all
:tags
:contains
:debug
:exact_match
:dirty
:abbrev
:candidates
:long
:always
:match
270 271 272 |
# File 'lib/git/base.rb', line 270 def describe(committish=nil, opts={}) self.lib.describe(committish, opts) end |