Method: Cbt::Girc#remote_list
- Defined in:
- lib/cbt/girc.rb
#remote_list ⇒ Object
64 65 66 67 68 69 70 71 |
# File 'lib/cbt/girc.rb', line 64 def remote_list lst = Array.new `#{@git} remote -v`.split("\n").each do |line| rn = line.split(/\s+/)[0] lst << rn unless lst.include? rn end lst end |