Sha256: 77bfcf6c61205fd04a35cbce8ffefa00b3f259f21d47dd49919edf710886313c

Contents?: true

Size: 369 Bytes

Versions: 9

Compression:

Stored size: 369 Bytes

Contents

difficulty 2

description "You have created too many branches for your project. There is an old branch in your repo called 'delete_me', you should delete it."

setup do
    init_from_level
end

solution do
  return true unless repo.branches.map(&:name).include?('delete_me')
end

hint do
  puts "Running 'git --help branch' will give you a list of branch commands."
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
mygithug-0.5.1 levels/delete_branch.rb
githug-0.5.0 levels/delete_branch.rb
githug-0.4.8 levels/delete_branch.rb
githug-0.4.7 levels/delete_branch.rb
githug-0.4.6 levels/delete_branch.rb
githug-0.4.5 levels/delete_branch.rb
githug-0.4.4 levels/delete_branch.rb
githug-0.4.3 levels/delete_branch.rb
githug-0.4.2 levels/delete_branch.rb