Method: Git::Base#branches

Defined in:
lib/git/base.rb

#branchesGit::Branches

Returns a collection of all the branches in the repository. Each branch is represented as a Git::Branch.

Returns:



665
666
667
# File 'lib/git/base.rb', line 665

def branches
  Git::Branches.new(self)
end