Sha256: be496c0ce400b58dcc45538916b73d6539419449b046ae10950069799432569f

Contents?: true

Size: 378 Bytes

Versions: 13

Compression:

Stored size: 378 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

13 entries across 13 versions & 2 rubygems

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