Method: Git::Base#current_branch
- Defined in:
- lib/git/base.rb
#current_branch ⇒ Object
returns the name of the branch the working directory is currently on
545 546 547 |
# File 'lib/git/base.rb', line 545 def current_branch self.lib.branch_current end |