Sha256: e2884c5e89cccd77d575ad1e7498c47c417423c924dd41b37070d12ade69e8d9

Contents?: true

Size: 321 Bytes

Versions: 9

Compression:

Stored size: 321 Bytes

Contents

difficulty 2
description "Create and switch to a new branch called 'my_branch'.  You will need to create a branch like you did in the previous level"

setup do
  repo.init
end

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

hint do
  puts "Try looking up `git checkout` and `git branch`"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
githug-0.2.2 levels/checkout.rb
githug-0.2.1 levels/checkout.rb
githug-0.2.0 levels/checkout.rb
githug-0.1.8 levels/checkout.rb
githug-0.1.7 levels/checkout.rb
githug-0.1.6 levels/checkout.rb
githug-0.1.5 levels/checkout.rb
githug-0.1.4 levels/checkout.rb
githug-0.1.3 levels/checkout.rb