Sha256: c2aa11efdf1dbea5f26a98e8a725b696d91e8ecd9d46380e701b8cf705319944

Contents?: true

Size: 334 Bytes

Versions: 13

Compression:

Stored size: 334 Bytes

Contents

difficulty 4
description "You have been working on a branch but got distracted by a major issue and forgot the name of it. Switch back to that branch."

setup do
  init_from_level
end

solution do
  return false unless repo.head.name == "solve_world_hunger"
  true
end

hint do
  puts "Ever played with the `git reflog` command?"
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
mygithug-0.5.1 levels/find_old_branch.rb
githug-0.5.0 levels/find_old_branch.rb
githug-0.4.8 levels/find_old_branch.rb
githug-0.4.7 levels/find_old_branch.rb
githug-0.4.6 levels/find_old_branch.rb
githug-0.4.5 levels/find_old_branch.rb
githug-0.4.4 levels/find_old_branch.rb
githug-0.4.3 levels/find_old_branch.rb
githug-0.4.2 levels/find_old_branch.rb
githug-0.4.1 levels/find_old_branch.rb
githug-0.4.0 levels/find_old_branch.rb
githug-0.3.5 levels/find_old_branch.rb
githug-0.3.4 levels/find_old_branch.rb