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



534
535
536
# File 'lib/git/base.rb', line 534

def current_branch
  self.lib.branch_current
end