# File icon-artist/gitrepo.rb, line 47 def update_branches branches_to_create = @branches[:remote] - @branches[:local] - ['HEAD'] branches_to_create.each do |b| if system "cd #{@working_dir} && git branch #{b} origin/#{b}" @branches[:local] += [b] end end end