# File lib/chef/knife/core/cookbook_scm_repo.rb, line 115 def branch_exists?(branch_name) git("branch --no-color").stdout.lines.any? {|l| l.include?(branch_name) } end