Sha256: 15f3af60f5401272a58414159eed43ffe049ba06f2ba8f01c4adeb90e20e8cf6

Contents?: true

Size: 374 Bytes

Versions: 14

Compression:

Stored size: 374 Bytes

Contents

difficulty 1
description "You want to work on a piece of code that has the potential to break things, create the branch test_code"

setup do
  repo.init
  FileUtils.touch("README")
  repo.add "README"
  repo.commit_all("Initial commit")
end

solution do
  repo.branches.map(&:name).include?("test_code")
end

hint do
  puts "git branch is what you want to investigate"
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
githug-0.3.3 levels/branch.rb
githug-0.3.2 levels/branch.rb
githug-0.3.1 levels/branch.rb
githug-0.3.0 levels/branch.rb
githug-0.2.12 levels/branch.rb
githug-0.2.11 levels/branch.rb
githug-0.2.10 levels/branch.rb
githug-0.2.9 levels/branch.rb
githug-0.2.8 levels/branch.rb
githug-0.2.7 levels/branch.rb
githug-0.2.6 levels/branch.rb
githug-0.2.5 levels/branch.rb
githug-0.2.4 levels/branch.rb
githug-0.2.3 levels/branch.rb