Method: Git::Lib#branches_all

Defined in:
lib/git/lib.rb

#branches_all

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



712
713
714
715
716
717
# File 'lib/git/lib.rb', line 712

def branches_all
  lines = command_lines('branch', '-a')
  lines.each_with_index.filter_map do |line, index|
    parse_branch_line(line, index, lines)
  end
end