Sha256: 0e845dc1e34c519ac9f8d806ab3083689f40a6a701e34d584360a158e4007396

Contents?: true

Size: 556 Bytes

Versions: 12

Compression:

Stored size: 556 Bytes

Contents

difficulty 3
description "Your new feature isn't worth the time and you're going to delete it. But it has one commit that fills in README file, and you want this commit to be on the master as well"

setup do
    init_from_level
    `git stash` #fix for README.md being in githug root an the level
end

solution do
  return false unless repo.commits[1].message == "Added fancy branded output"
  return false unless repo.commits[0].message == "Filled in README.md with proper input"
  true
end

hint do
  puts "Sneak a peek at the `cherry-pick` command"
end

Version data entries

12 entries across 12 versions & 1 rubygems

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