Method: Git::Base#current_branch

Defined in:
lib/git/base.rb

#current_branchObject

returns the name of the branch the working directory is currently on



468
469
470
# File 'lib/git/base.rb', line 468

def current_branch
  self.lib.branch_current
end