Skip to content

FInd branches of the same name in all projects

Project.find_each(batch_size: 100) do |project|
  repository = project.repository
  if repository.branch_exists?('testbranchname')
    puts "Project fullpath: #{project.full_path}"
  end
end